BaseSliderTrackShape class

Base track shape that provides an implementation of getPreferredRect for default sizing.

See also:

The height is set from SliderThemeData.trackHeight and the width of the parent box less the larger of the widths of SliderThemeData.thumbShape and SliderThemeData.overlayShape.

Implementers

Constructors

BaseSliderTrackShape()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getPreferredRect({RenderBox parentBox, Offset offset: Offset.zero, 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 non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited