JsonAnimatedPositioned constructor
JsonAnimatedPositioned({})
Implementation
JsonAnimatedPositioned({
Map<String, dynamic> args = const {},
JsonWidgetRegistry? registry,
this.bottom,
this.curve = Curves.linear,
required this.duration,
this.height,
this.left,
this.onEnd,
this.right,
this.top,
this.width,
required this.child,
}) : super(
jsonWidgetArgs: JsonAnimatedPositionedBuilderModel.fromDynamic(
{
'bottom': bottom,
'curve': curve,
'duration': duration,
'height': height,
'left': left,
'onEnd': onEnd,
'right': right,
'top': top,
'width': width,
'child': child,
...args,
},
args: args,
registry: registry,
),
jsonWidgetBuilder: () => JsonAnimatedPositionedBuilder(
args: JsonAnimatedPositionedBuilderModel.fromDynamic(
{
'bottom': bottom,
'curve': curve,
'duration': duration,
'height': height,
'left': left,
'onEnd': onEnd,
'right': right,
'top': top,
'width': width,
'child': child,
...args,
},
args: args,
registry: registry,
),
),
jsonWidgetType: JsonAnimatedPositionedBuilder.kType,
);