AwsTimePicker constructor

const AwsTimePicker({
  1. Key? key,
  2. double? height = 270,
  3. double? width = 300,
  4. Decoration? decoration,
  5. required Text? textBack,
  6. CupertinoTimerPickerMode mode = CupertinoTimerPickerMode.hm,
  7. DateTime? initialTime,
  8. required void onTimeChanged(
    1. DateTime
    ),
  9. 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);