FlexValue class
Typed CSS flex shorthand value.
Constructors
- FlexValue(Object grow, Object shrink, Object basis)
-
Creates a custom flex shorthand value.
const
- FlexValue.auto()
-
Creates
1 1 auto.const - FlexValue.fill()
-
Creates
1 1 auto.const - FlexValue.grow([Object grow = 1])
-
Creates
1 1 0%by default.const - FlexValue.none()
-
Creates
0 0 auto.const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCss(
) → String -
Converts this shorthand to a CSS
flexvalue. -
toString(
) → String -
Returns the CSS
flexvalue.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited