Display enum
The display CSS property sets whether an element is treated as a block or inline element and the layout used for its children, such as flow layout, grid or flex.
Values
- none → const Display
-
const Display("none")
- block → const Display
-
const Display("block")
- inline → const Display
-
const Display("inline")
- inlineBlock → const Display
-
const Display("inline-block")
- flex → const Display
-
const Display('flex')
- inlineFlex → const Display
-
const Display('inline-flex')
- grid → const Display
-
const Display('grid')
- inlineGrid → const Display
-
const Display('inline-grid')
- flowRoot → const Display
-
const Display('flow-root')
- contents → const Display
-
const Display('contents')
- inherit → const Display
-
const Display('inherit')
- initial → const Display
-
const Display('initial')
- revert → const Display
-
const Display('revert')
- revertLayer → const Display
-
const Display('revert-layer')
- unset → const Display
-
const Display('unset')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The css value
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited