OverScrollMode class

Class used to configure the WebView's over-scroll mode. Setting the over-scroll mode of a WebView will have an effect only if the WebView is capable of scrolling.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSupported() bool
Checks if the value is supported by the defaultTargetPlatform.
name() String
Gets the name of the value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() int?
Gets int native value if supported by the current platform, otherwise null.
toString() String
A string representation of this object.
override
toValue() int
Gets int value.

Operators

operator ==(Object value) bool
The equality operator.
override

Static Properties

values Set<OverScrollMode>
Set of all values of OverScrollMode.
final

Static Methods

asNameMap() Map<String, OverScrollMode>
Creates a map from the names of OverScrollMode values to the values.
byName(String? name) OverScrollMode?
Gets a possible OverScrollMode instance value with name name.
fromNativeValue(int? value) OverScrollMode?
Gets a possible OverScrollMode instance from a native value.
fromValue(int? value) OverScrollMode?
Gets a possible OverScrollMode instance from int value.

Constants

ALWAYS → const OverScrollMode
Always allow a user to over-scroll this view, provided it is a view that can scroll.
IF_CONTENT_SCROLLS → const OverScrollMode
Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll, provided it is a view that can scroll.
NEVER → const OverScrollMode
Never allow a user to over-scroll this view.