JsonRowBuilderModel class
Creates a horizontal 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 determine the layout order (which is always the case
unless the row has no children or only one child) or to disambiguate
start
or end
values for the mainAxisAlignment, the textDirection
must not be null.
- Inheritance
-
- Object
- JsonClass
- JsonWidgetBuilderModel
- JsonRowBuilderModel
Constructors
-
JsonRowBuilderModel(Map<
String, dynamic> args, {CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center, MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start, MainAxisSize mainAxisSize = MainAxisSize.max, double spacing = 0.0, 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
- spacing → double
-
final
- 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}) → JsonRowBuilderModel -
maybeFromDynamic(
dynamic map, {Map< String, dynamic> args = const {}, JsonWidgetRegistry? registry}) → JsonRowBuilderModel?