PodProgressBarConfig class
Constructors
- PodProgressBarConfig({Color playingBarColor = Colors.red, Color bufferedBarColor = const Color.fromRGBO(255, 255, 255, 0.38), Color circleHandlerColor = Colors.red, bool alwaysVisibleCircleHandler = false, Color backgroundColor = const Color.fromRGBO(255, 255, 255, 0.24), GetProgressBarPlayedPaint? getPlayedPaint, GetProgressBarBufferedPaint? getBufferedPaint, GetProgressBarHandlePaint? getCircleHandlerPaint, GetProgressBarBackgroundPaint? getBackgroundPaint, double height = 3.6, EdgeInsetsGeometry padding = EdgeInsets.zero, double circleHandlerRadius = 8, double curveRadius = 4})
-
const
Properties
- alwaysVisibleCircleHandler → bool
-
final
- backgroundColor → Color
-
Color for background area, not applied if getBackgroundPaint is provided.
final
- bufferedBarColor → Color
-
Color for buffered area, not applied if getBufferedPaint is provided.
final
- circleHandlerColor → Color
-
Color for handle, not applied if getCircleHandlerPaint is provided.
final
- circleHandlerRadius → double
-
Handle radius.
Should be bigger then height so that handle is visible.
0.0 will hide the handle.
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
- getCircleHandlerPaint → GetProgressBarHandlePaint?
-
Paint for handle.
final
- getPlayedPaint → GetProgressBarPlayedPaint?
-
Paint for played area.
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
- playingBarColor → 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
-
copyWith(
{Color? playingBarColor, Color? bufferedBarColor, Color? circleHandlerColor, bool? alwaysVisibleCircleHandler, Color? backgroundColor, GetProgressBarPlayedPaint? getPlayedPaint, GetProgressBarBufferedPaint? getBufferedPaint, GetProgressBarHandlePaint? getCircleHandlerPaint, GetProgressBarBackgroundPaint? getBackgroundPaint, double? height, EdgeInsetsGeometry? padding, double? circleHandlerRadius, double? curveRadius}) → PodProgressBarConfig -
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