JsonCustomScrollViewBuilderModel class

Creates a ScrollView that creates custom scroll effects using slivers.

See the ScrollView constructor for more details on these arguments.

Inheritance

Constructors

JsonCustomScrollViewBuilderModel(Map<String, dynamic> args, {double anchor = 0.0, double? cacheExtent, Key? center, Clip clipBehavior = Clip.hardEdge, ScrollController? controller, DragStartBehavior dragStartBehavior = DragStartBehavior.start, HitTestBehavior hitTestBehavior = HitTestBehavior.opaque, ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual, ScrollPhysics? physics, bool? primary, String? restorationId, bool reverse = false, ScrollBehavior? scrollBehavior, Axis scrollDirection = Axis.vertical, int? semanticChildCount, bool shrinkWrap = false, List<JsonWidgetData> slivers = const <JsonWidgetData>[]})
const

Properties

anchor double
final
args Map<String, dynamic>
finalinherited
cacheExtent double?
final
center Key?
final
clipBehavior Clip
final
controller ScrollController?
final
dragStartBehavior DragStartBehavior
final
hashCode int
The hash code for this object.
no setterinherited
hitTestBehavior HitTestBehavior
final
keyboardDismissBehavior ScrollViewKeyboardDismissBehavior
final
physics ScrollPhysics?
final
primary bool?
final
restorationId String?
final
reverse bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollBehavior ScrollBehavior?
final
scrollDirection Axis
final
semanticChildCount int?
final
shrinkWrap bool
final
slivers List<JsonWidgetData>
The slivers to place inside the viewport.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Abstract function that concrete classes must implement. This must encode the internal data model to a JSON compatible representation.
override
toString() String
Returns the string encoded JSON representation for this class. This will remove all null values and empty collections from the returned string.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromDynamic(dynamic map, {Map<String, dynamic> args = const {}, JsonWidgetRegistry? registry}) JsonCustomScrollViewBuilderModel
maybeFromDynamic(dynamic map, {Map<String, dynamic> args = const {}, JsonWidgetRegistry? registry}) JsonCustomScrollViewBuilderModel?