TimePickerHandlerDecoration constructor
TimePickerHandlerDecoration({})
Creates a TimePickerHandlerDecoration.
Implementation
TimePickerHandlerDecoration({
this.color = Colors.black,
this.shape = BoxShape.circle,
this.shadow,
this.icon,
this.radius = 8,
this.border,
this.handlerOutterRadius = 12,
this.useRoundedPickerCap = false,
this.showHandler = true,
this.showHandlerOutter = false,
}) : assert(
(showHandlerOutter && shadow != null) ? false : true,
'shadows does not draw well when using the default HandlerOutter, try using border instead',
),
assert(
(showHandlerOutter && icon != null) ? false : true,
'handlerOutterRadius can not be use with icon',
),
assert(
(!showHandlerOutter ||
(showHandlerOutter && handlerOutterRadius > radius))
? true
: false,
'when using handlerOutterRadius needs to be bigger than radius value',
);