JsonPrimaryScrollController constructor
JsonPrimaryScrollController({
- Map<
String, dynamic> args = const {}, - JsonWidgetRegistry? registry,
- required dynamic automaticallyInheritForPlatforms,
- required ScrollController? controller,
- required Axis? scrollDirection,
- required JsonWidgetData child,
Implementation
JsonPrimaryScrollController({
Map<String, dynamic> args = const {},
JsonWidgetRegistry? registry,
required this.automaticallyInheritForPlatforms,
required this.controller,
required this.scrollDirection,
required this.child,
}) : super(
jsonWidgetArgs: JsonPrimaryScrollControllerBuilderModel.fromDynamic(
{
'automaticallyInheritForPlatforms':
automaticallyInheritForPlatforms,
'controller': controller,
'scrollDirection': scrollDirection,
'child': child,
...args,
},
args: args,
registry: registry,
),
jsonWidgetBuilder: () => JsonPrimaryScrollControllerBuilder(
args: JsonPrimaryScrollControllerBuilderModel.fromDynamic(
{
'automaticallyInheritForPlatforms':
automaticallyInheritForPlatforms,
'controller': controller,
'scrollDirection': scrollDirection,
'child': child,
...args,
},
args: args,
registry: registry,
),
),
jsonWidgetType: JsonPrimaryScrollControllerBuilder.kType,
);