OverScrollBehavior class

do what @author yulun @since 2020-09-29 16:48 对于ClampingScrollPhysics android的滚动来说 去掉到顶或到底后的默认阴影

Inheritance

Constructors

OverScrollBehavior()

Properties

dragDevices Set<PointerDeviceKind>
The device kinds that the scrollable will accept drag gestures from. [...]
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

buildOverscrollIndicator(BuildContext context, Widget child, ScrollableDetails details) Widget
Applies a GlowingOverscrollIndicator to the child widget on TargetPlatform.android and TargetPlatform.fuchsia.
inherited
buildScrollbar(BuildContext context, Widget child, ScrollableDetails details) Widget
Applies a RawScrollbar to the child widget on desktop platforms.
inherited
buildViewportChrome(BuildContext context, Widget child, AxisDirection axisDirection) Widget
Wraps the given widget, which scrolls in the given AxisDirection. [...]
override
copyWith({bool scrollbars = true, bool overscroll = true, Set<PointerDeviceKind> dragDevices, ScrollPhysics physics, TargetPlatform platform}) ScrollBehavior
Creates a copy of this ScrollBehavior, making it possible to easily toggle scrollbar and overscrollIndicator effects. [...]
inherited
getPlatform(BuildContext context) TargetPlatform
The platform whose scroll physics should be implemented. [...]
inherited
getScrollPhysics(BuildContext context) ScrollPhysics
The scroll physics to use for the platform given by getPlatform. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
shouldNotify(covariant ScrollBehavior oldDelegate) bool
Called whenever a ScrollConfiguration is rebuilt with a new ScrollBehavior of the same runtimeType. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
velocityTrackerBuilder(BuildContext context) GestureVelocityTrackerBuilder
Specifies the type of velocity tracker to use in the descendant Scrollables' drag gesture recognizers, for estimating the velocity of a drag gesture. [...]
inherited

Operators

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