Controls how Scrollable widgets in a subtree behave.
Used by ScrollConfiguration.
Constructors
- ScrollConfigurationDelegate()
-
Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.
const
Properties
- platform → TargetPlatform
-
Returns the platform whose scroll physics should be approximated. See
ScrollBehavior.platform
.read-only - hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
createScrollBehavior(
) → ExtentScrollBehavior -
Returns the ScrollBehavior to be used by generic scrolling containers like Block.
-
updateShouldNotify(
ScrollConfigurationDelegate old) → bool -
Overrides should return true if this ScrollConfigurationDelegate differs from the provided old delegate in a way that requires rebuilding its scrolling container descendants.
-
wrapScrollWidget(
BuildContext context, Widget scrollWidget) → Widget -
Generic scrolling containers like Block will apply this function to the Scrollable they create. It can be used to add widgets that wrap the Scrollable, like scrollbars or overscroll indicators. By default the
scrollWidget
parameter is returned unchanged. -
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