TimePickerSweepDecoration class
used to decorate our sweep part or a part between our init and end point
Constructors
- TimePickerSweepDecoration({required double pickerStrokeWidth, bool useRoundedPickerCap = true, Color? pickerColor, SweepGradient? pickerGradient, bool showConnector = false, double? connectorStrokeWidth, Color? connectorColor})
Properties
- connectorColor → Color?
-
final
- connectorStrokeWidth → double?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pickerColor → Color?
-
final
- pickerGradient → SweepGradient?
-
A 2D sweep gradient.
final
- pickerStrokeWidth → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showConnector → bool
-
final
- useRoundedPickerCap → bool
-
final
Methods
-
copyWith(
{double? pickerStrokeWidth, Color? pickerColor, SweepGradient? pickerGradient, bool? showConnector, double? connectorStrokeWidth, Color? connectorColor}) → TimePickerSweepDecoration -
getRadius(
double width, double height) → double -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
Canvas canvas, Size size, Offset center, double startAngle, double sweepAngle) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited