FlickProgressBarSettings class
Constructors
- FlickProgressBarSettings({Color playedColor = const Color.fromRGBO(255, 255, 255, 1), Color bufferedColor = const Color.fromRGBO(255, 255, 255, 0.38), Color handleColor = const Color.fromRGBO(255, 255, 255, 1), Color backgroundColor = const Color.fromRGBO(255, 255, 255, 0.24), EdgeInsetsGeometry padding = const EdgeInsets.symmetric(vertical: 10), double height = 3, double handleRadius = 3.3, double curveRadius = 4, GetProgressBarPlayedPaint? getPlayedPaint, GetProgressBarBufferedPaint? getBufferedPaint, GetProgressBarHandlePaint? getHandlePaint, GetProgressBarBackgroundPaint? getBackgroundPaint})
Properties
- backgroundColor → Color
-
Color for background area, not applied if getBackgroundPaint is provided.
final
- bufferedColor → Color
-
Color for buffered area, not applied if getBufferedPaint is provided.
final
- curveRadius → double
-
Radius to curve the ends of the bar.
final
- getBackgroundPaint → GetProgressBarBackgroundPaint?
-
Paint for background area.
final
- getBufferedPaint → GetProgressBarBufferedPaint?
-
Paint for buffered area.
final
- getHandlePaint → GetProgressBarHandlePaint?
-
Paint for handle.
final
- getPlayedPaint → GetProgressBarPlayedPaint?
-
Paint for played area.
final
- handleColor → Color
-
Color for handle, not applied if getHandlePaint is provided.
final
- handleRadius → double
-
Handle radius.
Should be bigger then height so that handle is visible.
0.0 will hide the handle.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
Height of the progress bar.
final
- padding → EdgeInsetsGeometry
-
Padding for the progress bar.
Padding area is included in the GestureDetector.
final
- playedColor → Color
-
Color for played area, not applied if getPlayedPaint is provided.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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