JsonLottie constructor
JsonLottie({})
Implementation
JsonLottie({
Map<String, dynamic> args = const {},
JsonWidgetRegistry? registry,
this.addRepaintBounary,
this.alignment,
this.animate,
this.asset,
this.fit,
this.height,
this.lottie,
this.options,
this.package,
this.repeat,
this.reverse,
this.url,
this.width,
}) : super(
jsonWidgetArgs: LottieBuilderModel.fromDynamic(
{
'addRepaintBounary': addRepaintBounary,
'alignment': alignment,
'animate': animate,
'asset': asset,
'fit': fit,
'height': height,
'lottie': lottie,
'options': options,
'package': package,
'repeat': repeat,
'reverse': reverse,
'url': url,
'width': width,
...args,
},
args: args,
registry: registry,
),
jsonWidgetBuilder: () => LottieBuilder(
args: LottieBuilderModel.fromDynamic(
{
'addRepaintBounary': addRepaintBounary,
'alignment': alignment,
'animate': animate,
'asset': asset,
'fit': fit,
'height': height,
'lottie': lottie,
'options': options,
'package': package,
'repeat': repeat,
'reverse': reverse,
'url': url,
'width': width,
...args,
},
args: args,
registry: registry,
),
),
jsonWidgetType: LottieBuilder.kType,
);