JsonColumnBuilderModel class
Creates a vertical array of children.
If crossAxisAlignment is CrossAxisAlignment.baseline, then textBaseline must not be null.
The textDirection argument defaults to the ambient Directionality, if
any. If there is no ambient directionality, and a text direction is going
to be necessary to disambiguate start
or end
values for the
crossAxisAlignment, the textDirection must not be null.
- Inheritance
-
- Object
- JsonClass
- JsonWidgetBuilderModel
- JsonColumnBuilderModel
Constructors
-
JsonColumnBuilderModel(Map<
String, dynamic> args, {CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center, MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start, MainAxisSize mainAxisSize = MainAxisSize.max, TextBaseline? textBaseline, TextDirection? textDirection, VerticalDirection verticalDirection = VerticalDirection.down, List<JsonWidgetData> children = const <JsonWidgetData>[]}) -
const
Properties
-
args
→ Map<
String, dynamic> -
finalinherited
-
children
→ List<
JsonWidgetData> -
final
- crossAxisAlignment → CrossAxisAlignment
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mainAxisAlignment → MainAxisAlignment
-
final
- mainAxisSize → MainAxisSize
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textBaseline → TextBaseline?
-
final
- textDirection → TextDirection?
-
final
- verticalDirection → VerticalDirection
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Abstract function that concrete classes must implement. This must encode
the internal data model to a JSON compatible representation.
override
-
toString(
) → String -
Returns the string encoded JSON representation for this class. This will
remove all null values and empty collections from the returned string.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromDynamic(
dynamic map, {Map< String, dynamic> args = const {}, JsonWidgetRegistry? registry}) → JsonColumnBuilderModel -
maybeFromDynamic(
dynamic map, {Map< String, dynamic> args = const {}, JsonWidgetRegistry? registry}) → JsonColumnBuilderModel?