ScrollIntent class Null safety

An Intent that represents scrolling the nearest scrollable by an amount appropriate for the type specified.

The actual amount of the scroll is determined by the Scrollable.incrementCalculator, or by its defaults if that is not specified.

Inheritance

Constructors

ScrollIntent({required AxisDirection direction, ScrollIncrementType type = ScrollIncrementType.line})
Creates a const ScrollIntent that requests scrolling in the given direction, with the given type.
const

Properties

direction AxisDirection
The direction in which to scroll the scrollable containing the focused widget.
final
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type ScrollIncrementType
The type of scrolling that is intended.
final

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
mustCallSuper">@mustCallSuperprotected">@protectedinherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
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