DesignScrollThumb class
A scrollbar's geometry and state, for the look to paint.
- Annotations
Constructors
-
DesignScrollThumb({required Axis axis, required double trackExtent, required double thumbExtent, required double thumbOffset, required bool visible, required Set<
WidgetState> states}) -
The scrollbar's state; the area makes it.
const
Properties
- axis → Axis
-
Which way it runs.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
states
→ Set<
WidgetState> -
WidgetState.hovered while a pointer is over it,
WidgetState.pressed while the thumb is dragged.
final
- thumbExtent → double
-
The thumb's length.
final
- thumbOffset → double
-
The thumb's distance from the track's start.
final
- trackExtent → double
-
The track's length.
final
- visible → bool
-
Whether the look should show it (fade it out when false).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited