TableViewScrollbarStyle class
- Inheritance
-
- Object
- ScrollbarThemeData
- TableViewScrollbarStyle
- Annotations
Constructors
-
TableViewScrollbarStyle({TableViewScrollbarEnabled? enabled, bool? scrollPadding, double? crossAxisMargin, bool? interactive, double? mainAxisMargin, double? minThumbLength, Radius? radius, MaterialStateProperty<
double?> ? thickness, MaterialStateProperty<Color?> ? thumbColor, MaterialStateProperty<bool?> ? thumbVisibility, MaterialStateProperty<Color?> ? trackBorderColor, MaterialStateProperty<Color?> ? trackColor, MaterialStateProperty<bool?> ? trackVisibility}) -
const
- TableViewScrollbarStyle.disabled()
-
Shorthand constructor for disabled scrollbar.
Note that enabling/disabling scrollbar for a currently alive widget
will lead to state loss and possibly to runtime errors.
const
Properties
- crossAxisMargin → double?
-
Overrides the default value of the ScrollbarPainter.crossAxisMargin
property in all descendant Scrollbar widgets.
finalinherited
- enabled → TableViewScrollbarEnabled?
-
Controls whether or not the scrollbar is displayed.
Note that changing this property for a currently alive widget will lead
to state loss and possibly to runtime errors.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- interactive → bool?
-
Overrides the default value of Scrollbar.interactive in all
descendant Scrollbar widgets.
finalinherited
- mainAxisMargin → double?
-
Overrides the default value of the ScrollbarPainter.mainAxisMargin
property in all descendant Scrollbar widgets.
finalinherited
- minThumbLength → double?
-
Overrides the default value of the ScrollbarPainter.minLength
property in all descendant Scrollbar widgets.
finalinherited
- radius → Radius?
-
Overrides the default value of Scrollbar.radius in all
descendant widgets.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollPadding → bool?
-
If true, the corresponding scrollPadding value will be increased to allow
the content to scroll out from underneath the scrollbar when it's shown.
final
-
thickness
→ MaterialStateProperty<
double?> ? -
Overrides the default value of Scrollbar.thickness in all
descendant Scrollbar widgets.
finalinherited
-
thumbColor
→ MaterialStateProperty<
Color?> ? -
Overrides the default
Color
of the Scrollbar thumb in all descendant Scrollbar widgets.finalinherited -
thumbVisibility
→ MaterialStateProperty<
bool?> ? -
Overrides the default value of Scrollbar.thumbVisibility in all
descendant Scrollbar widgets.
finalinherited
-
trackBorderColor
→ MaterialStateProperty<
Color?> ? -
Overrides the default
Color
of the Scrollbar track border when trackVisibility is true in all descendant Scrollbar widgets.finalinherited -
trackColor
→ MaterialStateProperty<
Color?> ? -
Overrides the default
Color
of the Scrollbar track when trackVisibility is true in all descendant Scrollbar widgets.finalinherited -
trackVisibility
→ MaterialStateProperty<
bool?> ? -
Overrides the default value of Scrollbar.trackVisibility in all
descendant Scrollbar widgets.
finalinherited
Methods
-
copyWith(
{TableViewScrollbarEnabled? enabled, bool? scrollPadding, MaterialStateProperty< bool?> ? thumbVisibility, MaterialStateProperty<double?> ? thickness, MaterialStateProperty<bool?> ? trackVisibility, bool? interactive, Radius? radius, MaterialStateProperty<Color?> ? thumbColor, MaterialStateProperty<Color?> ? trackColor, MaterialStateProperty<Color?> ? trackBorderColor, double? crossAxisMargin, double? mainAxisMargin, double? minThumbLength, bool? isAlwaysShown, bool? showTrackOnHover}) → TableViewScrollbarStyle -
Creates a copy of this object with the given fields replaced with the
new values.
override
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
lerp(
TableViewScrollbarStyle other, double t) → TableViewScrollbarStyle -
Linearly interpolate between two Scrollbar themes.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited