JsonSizedBox constructor
JsonSizedBox({
- Map<
String, dynamic> args = const {}, - JsonWidgetRegistry? registry,
- double? height,
- double? width,
- JsonWidgetData? child,
Implementation
JsonSizedBox({
Map<String, dynamic> args = const {},
JsonWidgetRegistry? registry,
this.height,
this.width,
this.child,
}) : super(
jsonWidgetArgs: JsonSizedBoxBuilderModel.fromDynamic(
{
'height': height,
'width': width,
'child': child,
...args,
},
args: args,
registry: registry,
),
jsonWidgetBuilder: () => JsonSizedBoxBuilder(
args: JsonSizedBoxBuilderModel.fromDynamic(
{
'height': height,
'width': width,
'child': child,
...args,
},
args: args,
registry: registry,
),
),
jsonWidgetType: JsonSizedBoxBuilder.kType,
);