ScrollStartNotification class
A notification that a Scrollable widget has started scrolling.
See also:
- ScrollEndNotification, which indicates that scrolling has stopped.
- ScrollNotification, which describes the notification lifecycle.
- Inheritance
- Object
- Notification
- LayoutChangedNotification
- ScrollNotification
- ScrollStartNotification
Constructors
- ScrollStartNotification({@required ScrollMetrics metrics, @required BuildContext context, DragStartDetails dragDetails })
- Creates a notification that a Scrollable widget has started scrolling.
Properties
- dragDetails → DragStartDetails
-
If the Scrollable started scrolling because of a drag, the details about
that drag start. [...]
final
- context → BuildContext
-
The build context of the widget that fired this notification. [...]
final, inherited
- depth → int
-
The number of viewports that this notification has bubbled through. [...]
read-only, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- metrics → ScrollMetrics
-
A description of a Scrollable's contents, useful for modeling the state
of its viewport.
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
debugFillDescription(
List< String> description) → void -
Add additional information to the given description for use by toString. [...]
override
-
dispatch(
BuildContext target) → void -
Start bubbling this notification at the given build context. [...]
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
-
visitAncestor(
Element element) → bool -
Applied to each ancestor of the dispatch target. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited