ScrollViewModifierSpecAttribute class final

Represents the attributes of a ScrollViewModifierSpec.

This class encapsulates properties defining the layout and appearance of a ScrollViewModifierSpec.

Use this class to configure the attributes of a ScrollViewModifierSpec and pass it to the ScrollViewModifierSpec constructor.

Inheritance
Mixed-in types

Constructors

ScrollViewModifierSpecAttribute({Axis? scrollDirection, bool? reverse, SpacingDto? padding, ScrollPhysics? physics, Clip? clipBehavior})
const

Properties

animated AnimatedDataDto?
finalinherited
clipBehavior Clip?
final
hashCode int
The hash code for this object.
no setterinherited
mergeKey Object
no setterinherited
modifiers WidgetModifiersDataDto?
finalinherited
padding SpacingDto?
final
physics ScrollPhysics?
final
props List<Object?>
The list of properties that constitute the state of this ScrollViewModifierSpecAttribute.
no setter
reverse bool?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollDirection Axis?
final
stringify bool
no setterinherited

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
getDiff(EqualityMixin other) Map<String, String>
inherited
merge(covariant ScrollViewModifierSpecAttribute? other) ScrollViewModifierSpecAttribute
Merges the properties of this ScrollViewModifierSpecAttribute with the properties of other.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(MixData mix) ScrollViewModifierSpec
Resolves to ScrollViewModifierSpec using the provided MixData.
override
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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