ImageSliderStyle class
Internal style configuration class that computes dimension values based on a style preset and image width
This class is used internally by ImageSliderStyleOptions to calculate the appropriate dimensions for different visual styles.
Constructors
- ImageSliderStyle(ImageSliderStyleEnum style, double imgWidth)
-
Factory constructor that creates a style based on the preset and image width
factory
Properties
- anchorWidth → double
-
Width of the anchor points along the track
final
- borderWidth → double
-
Width of the border around the slider track
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
Height of the slider track (equals imageWidth)
final
- imageWidth → double
-
Width (and height) of the draggable image indicator
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strokeWidth → double
-
Width of the stroke used to draw the slider track
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 ==(
Object other) → bool -
The equality operator.
inherited