PlutoGridScrollbarConfig class
Allows to customise scrollbars "look and feel" The general feature is making vertical scrollbar draggable and therefore more useful for desktop systems. Set draggableScrollbar to true to achieve this behavior. Also changing isAlwaysShown to true is recommended for more usability at desktops.
Constructors
-
PlutoGridScrollbarConfig({bool draggableScrollbar = true, bool isAlwaysShown = false, bool onlyDraggingThumb = true, double scrollbarThickness = PlutoScrollbar.defaultThickness, double scrollbarThicknessWhileDragging = PlutoScrollbar.defaultThicknessWhileDragging, double hoverWidth = PlutoScrollbar.defaultScrollbarHoverWidth, double? mainAxisMargin, double? crossAxisMargin, Color? scrollBarColor, Color? scrollBarTrackColor, Radius scrollbarRadius = PlutoScrollbar.defaultRadius, Radius scrollbarRadiusWhileDragging = PlutoScrollbar.defaultRadiusWhileDragging, Set<
PointerDeviceKind> ? dragDevices}) -
const
Properties
- crossAxisMargin → double?
-
final
-
dragDevices
→ Set<
PointerDeviceKind> ? -
final
- draggableScrollbar → bool
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hoverWidth → double
-
final
- isAlwaysShown → bool
-
final
- mainAxisMargin → double?
-
final
- onlyDraggingThumb → bool
-
If onlyDraggingThumb is false, scrolling can be done by dragging the track area.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollBarColor → Color?
-
ScrollBar Color
final
- scrollbarRadius → Radius
-
final
- scrollbarRadiusWhileDragging → Radius
-
final
- scrollbarThickness → double
-
final
- scrollbarThicknessWhileDragging → double
-
final
- scrollBarTrackColor → Color?
-
ScrollBar Track Color
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 ==(
covariant Object other) → bool -
The equality operator.
override