BaseRangeSliderTrackShape mixin
Base range slider track shape that provides an implementation of getPreferredRect for default sizing.
The height is set from SliderThemeData.trackHeight and the width of the parent box less the larger of the widths of SliderThemeData.rangeThumbShape and SliderThemeData.overlayShape.
See also:
- RectangularRangeSliderTrackShape, which is a track shape with sharp rectangular edges
- Mixin applications
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPreferredRect(
{required RenderBox parentBox, Offset offset = Offset.zero, required SliderThemeData sliderTheme, bool isEnabled = false, bool isDiscrete = false}) → Rect - Returns a rect that represents the track bounds that fits within the Slider.
-
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