FlexSpec class

Inheritance

Constructors

FlexSpec({CrossAxisAlignment? crossAxisAlignment, MainAxisAlignment? mainAxisAlignment, MainAxisSize? mainAxisSize, VerticalDirection? verticalDirection, Axis? direction, TextDirection? textDirection, TextBaseline? textBaseline, Clip? clipBehavior, double? gap, AnimatedData? animated})
const
FlexSpec.exhaustive({required CrossAxisAlignment? crossAxisAlignment, required MainAxisAlignment? mainAxisAlignment, required MainAxisSize? mainAxisSize, required VerticalDirection? verticalDirection, required Axis? direction, required TextDirection? textDirection, required TextBaseline? textBaseline, required Clip? clipBehavior, required double? gap, required AnimatedData? animated})
const

Properties

animated AnimatedData?
finalinherited
clipBehavior Clip?
final
crossAxisAlignment CrossAxisAlignment?
final
direction Axis?
final
gap double?
final
hashCode int
The hash code for this object.
no setterinherited
isAnimated bool
no setterinherited
mainAxisAlignment MainAxisAlignment?
final
mainAxisSize MainAxisSize?
final
props List<Object?>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool
no setterinherited
textBaseline TextBaseline?
final
textDirection TextDirection?
final
type Type
no setterinherited
verticalDirection VerticalDirection?
final

Methods

copyWith({Axis? direction, MainAxisAlignment? mainAxisAlignment, CrossAxisAlignment? crossAxisAlignment, MainAxisSize? mainAxisSize, VerticalDirection? verticalDirection, TextDirection? textDirection, TextBaseline? textBaseline, Clip? clipBehavior, double? gap, AnimatedData? animated}) FlexSpec
Creates a copy of this spec with the given fields replaced by the non-null parameter values.
override
getDiff(EqualityMixin other) Map<String, String>
inherited
lerp(covariant FlexSpec? other, double t) FlexSpec
Linearly interpolate with another Spec object.
override
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

Static Methods

from(MixData mix) FlexSpec
of(BuildContext context) FlexSpec