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})
- Creates a TimePickerSweepDecoration.
Properties
- connectorColor → Color?
-
define the connector line color
optional color
final
- connectorStrokeWidth → double?
-
defines width for the connector line
optional width
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pickerColor → Color?
-
define the picker color
optional color
final
- pickerGradient → SweepGradient?
-
A 2D sweep gradient.
final
- pickerStrokeWidth → double
-
defines the picker stroke width
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showConnector → bool
-
used to show connector line
Default Value:
false
final - useRoundedPickerCap → bool
-
define the stroke cap
Default Value:
true
If true then StrokeCap.round used and if false then StrokeCap.butt usedfinal
Methods
-
copyWith(
{double? pickerStrokeWidth, Color? pickerColor, SweepGradient? pickerGradient, bool? showConnector, double? connectorStrokeWidth, Color? connectorColor}) → TimePickerSweepDecoration - Creates a copy of the 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