TimePickerSweepDecoration constructor
TimePickerSweepDecoration({})
Implementation
TimePickerSweepDecoration({
required this.pickerStrokeWidth,
this.useRoundedPickerCap = true,
this.pickerColor,
this.pickerGradient,
this.showConnector = false,
this.connectorStrokeWidth,
this.connectorColor,
}) : assert((pickerGradient == null && pickerColor == null) ? false : true,
'either a color or gradient must be provided too allow sweep drawing'),
assert((pickerGradient != null && pickerColor != null) ? false : true,
'color is not needed when a gradient is defined');