AwsTimePicker constructor
const
AwsTimePicker({
- Key? key,
- double? height = 270,
- double? width = 300,
- Decoration? decoration,
- required Text? textBack,
- CupertinoTimerPickerMode mode = CupertinoTimerPickerMode.hm,
- DateTime? initialTime,
- required void onTimeChanged(),
- required void onBack()?,
Implementation
const AwsTimePicker({
Key? key,
double? height = 270,
double? width = 300,
Decoration? decoration,
required Text? textBack,
CupertinoTimerPickerMode mode = CupertinoTimerPickerMode.hm,
DateTime? initialTime,
required void Function(DateTime) onTimeChanged,
required void Function()? onBack,
}) : _height = height,
_width = width,
_decoration = decoration,
_textBack = textBack,
_mode = mode,
_initialTime = initialTime,
_onTimeChanged = onTimeChanged,
_onBack = onBack,
super(key: key);