CircularSeekBar class

Inheritance

Constructors

CircularSeekBar({Key? key, required double width, required double height, double progress = 0, double minProgress = 0, double maxProgress = 100, double startAngle = 0, double sweepAngle = 360, double barWidth = 10, Color trackColor = Colors.white54, List<Color> trackGradientColors = const [], Color progressColor = Colors.blue, List<Color> progressGradientColors = const [], StrokeCap strokeCap = StrokeCap.round, bool animation = true, int animDurationMillis = 1000, Curve curves = Curves.linear, double innerThumbRadius = 0, double innerThumbStrokeWidth = 0, Color innerThumbColor = Colors.white, double outerThumbRadius = 0, double outerThumbStrokeWidth = 0, Color outerThumbColor = Colors.blueAccent, double dashGap = 0, double dashWidth = 0, ValueNotifier<double>? valueNotifier, VoidCallback? onEnd, bool interactive = true, Widget? child})
Constructor of CircularSeekBar.
const

Properties

animation bool
Active seek bar animation.
final
animDurationMillis int
Animation duration milliseconds.
final
barWidth double
The thickness of the seek bar.
final
child Widget?
This widget is placed on the seek bar.
final
curves Curve
Default is Curves.linear Animation curve.
final
dashGap double
If you want to make dashed progress, set dashWidth and dashGap to greater than 0 Dash gap of seek bar.
final
dashWidth double
If you want to make dashed progress, set dashWidth and dashGap to greater than 0 Dash width of seek bar
final
hashCode int
The hash code for this object.
no setterinherited
height double
CircularSeekBar height.
final
innerThumbColor Color
Color of the seekbar inner thumb.
final
innerThumbRadius double
The radius of the seekbar inner thumb.
final
innerThumbStrokeWidth double
The stroke width of the seekbar inner thumb.
final
interactive bool
Set to true if you want to interact with TapDown to change the seekbar's progress.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
maxProgress double
Maximum value of seek bar.
final
minProgress double
Minimum value of seek bar.
final
onEnd VoidCallback?
This callback function will execute when Animation is finished.
final
outerThumbColor Color
Color of the seekbar outer thumb.
final
outerThumbRadius double
The radius of the seekbar outer thumb.
final
outerThumbStrokeWidth double
The stroke width of the seekbar outer thumb.
final
progress double
Current value of seek bar.
final
progressColor Color
Foreground progress color of seek bar.
final
progressGradientColors List<Color>
If progressGradientColors is not empty, progressColor is not applied. Foreground progressGradientColors of seek bar.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startAngle double
startAngle should be between 0 and 360. The Angle to start drawing this seek bar from
final
strokeCap StrokeCap
Styles to use for arcs endings.
final
sweepAngle double
sweepAngle should be be between 0 and 360. The Angle through which to draw the seek bar
final
trackColor Color
Background track color of seek bar.
final
trackGradientColors List<Color>
If trackGradientColors is not empty, trackColor is not applied. Background track gradient colors of seek bar.
final
valueNotifier ValueNotifier<double>?
This ValueNotifier notifies the listener that the seekbar's progress value has changed.
final
width double
CircularSeekBar width.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<CircularSeekBar>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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