JsonPositioned constructor
JsonPositioned({
- Map<
String, dynamic> args = const {}, - JsonWidgetRegistry? registry,
- double? bottom,
- double? height,
- double? left,
- double? right,
- double? top,
- double? width,
- required JsonWidgetData child,
Implementation
JsonPositioned({
Map<String, dynamic> args = const {},
JsonWidgetRegistry? registry,
this.bottom,
this.height,
this.left,
this.right,
this.top,
this.width,
required this.child,
}) : super(
jsonWidgetArgs: JsonPositionedBuilderModel.fromDynamic(
{
'bottom': bottom,
'height': height,
'left': left,
'right': right,
'top': top,
'width': width,
'child': child,
...args,
},
args: args,
registry: registry,
),
jsonWidgetBuilder: () => JsonPositionedBuilder(
args: JsonPositionedBuilderModel.fromDynamic(
{
'bottom': bottom,
'height': height,
'left': left,
'right': right,
'top': top,
'width': width,
'child': child,
...args,
},
args: args,
registry: registry,
),
),
jsonWidgetType: JsonPositionedBuilder.kType,
);