AndroidOverScrollMode class

An Android-specific 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. Use OverScrollMode instead.

Annotations

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<AndroidOverScrollMode>
Set of all values of AndroidOverScrollMode.
final

Static Methods

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

Constants

OVER_SCROLL_ALWAYS → const AndroidOverScrollMode
Always allow a user to over-scroll this view, provided it is a view that can scroll.
OVER_SCROLL_IF_CONTENT_SCROLLS → const AndroidOverScrollMode
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.
OVER_SCROLL_NEVER → const AndroidOverScrollMode
Never allow a user to over-scroll this view.