SliderTickMarkShape class abstract

Base class for Slider tick mark shapes.

Create a subclass of this if you would like a custom slider tick mark shape.

The tick mark painting can be skipped by specifying noTickMark for SliderThemeData.tickMarkShape.

See also:

Implementers

Constructors

SliderTickMarkShape()
This abstract const constructor enables subclasses to provide const constructors so that they can be used in const expressions.
const

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

getPreferredSize({required SliderThemeData sliderTheme, required bool isEnabled}) Size
Returns the preferred size of the shape.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(PaintingContext context, Offset center, {required RenderBox parentBox, required SliderThemeData sliderTheme, required Animation<double> enableAnimation, required Offset thumbCenter, required bool isEnabled, required TextDirection textDirection}) → void
Paints the slider track.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

noTickMark SliderTickMarkShape
Special instance of SliderTickMarkShape to skip the tick mark painting.
final