AndroidScrollBarStyle class
An Android-specific class used to configure the style of the scrollbars. The scrollbars can be overlaid or inset. When inset, they add to the padding of the view. And the scrollbars can be drawn inside the padding area or on the edge of the view. For example, if a view has a background drawable and you want to draw the scrollbars inside the padding specified by the drawable, you can use AndroidScrollBarStyle.SCROLLBARS_INSIDE_OVERLAY or AndroidScrollBarStyle.SCROLLBARS_INSIDE_INSET. If you want them to appear at the edge of the view, ignoring the padding, then you can use AndroidScrollBarStyle.SCROLLBARS_OUTSIDE_OVERLAY or AndroidScrollBarStyle.SCROLLBARS_OUTSIDE_INSET.
Use ScrollBarStyle instead.
- Annotations
-
- @Deprecated('Use ScrollBarStyle instead')
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toNativeValue(
) → int - Gets int native value.
-
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<
AndroidScrollBarStyle> -
Set of all values of AndroidScrollBarStyle.
final
Static Methods
-
fromNativeValue(
int? value) → AndroidScrollBarStyle? - Gets a possible AndroidScrollBarStyle instance from a native value.
-
fromValue(
int? value) → AndroidScrollBarStyle? - Gets a possible AndroidScrollBarStyle instance from int value.
Constants
- SCROLLBARS_INSIDE_INSET → const AndroidScrollBarStyle
- The scrollbar style to display the scrollbars inside the padded area, increasing the padding of the view. The scrollbars will not overlap the content area of the view.
- SCROLLBARS_INSIDE_OVERLAY → const AndroidScrollBarStyle
- The scrollbar style to display the scrollbars inside the content area, without increasing the padding. The scrollbars will be overlaid with translucency on the view's content.
- SCROLLBARS_OUTSIDE_INSET → const AndroidScrollBarStyle
- The scrollbar style to display the scrollbars at the edge of the view, increasing the padding of the view. The scrollbars will only overlap the background, if any.
- SCROLLBARS_OUTSIDE_OVERLAY → const AndroidScrollBarStyle
- The scrollbar style to display the scrollbars at the edge of the view, without increasing the padding. The scrollbars will be overlaid with translucency.