OverscrollIndicatorNotification class
A notification that either a GlowingOverscrollIndicator or a StretchingOverscrollIndicator will start showing an overscroll indication.
To prevent the indicator from showing the indication, call disallowIndicator on the notification.
See also:
- GlowingOverscrollIndicator, which generates this type of notification by painting an indicator over the child content.
- StretchingOverscrollIndicator, which generates this type of notification by applying a stretch transformation to the child content.
- Inheritance
-
- Object
- Notification
- OverscrollIndicatorNotification
- Mixed-in types
Constructors
- OverscrollIndicatorNotification({required bool leading})
- Creates a notification that an GlowingOverscrollIndicator or a StretchingOverscrollIndicator will start showing an overscroll indication.
Properties
- accepted ↔ bool
-
Whether the current overscroll event will allow for the indicator to be
shown.
getter/setter pair
- depth → int
-
The number of viewports that this notification has bubbled through.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- leading → bool
-
Whether the indication will be shown on the leading edge of the scroll
view.
final
- paintOffset ↔ double
-
Controls at which offset a GlowingOverscrollIndicator draws.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
debugFillDescription(
List< String> description) → void -
Add additional information to the given description for use by toString.
override
-
disallowIndicator(
) → void - Call this method if the overscroll indicator should be prevented.
-
dispatch(
BuildContext? target) → void -
Start bubbling this notification at the given build context.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited