TimeInput constructor

const TimeInput({
  1. required String title,
  2. required dynamic onSubmitted(
    1. TimeOfDay? time
    ),
  3. Key? key,
  4. DateTime? time,
  5. TimeOfDay? defaultTime,
  6. bool isUtc = true,
  7. bool autoFocus = false,
  8. bool replaceAllTextOnAutoFocus = false,
  9. dynamic onChanged(
    1. TimeOfDay? time
    )?,
  10. InputDecoration? inputDecoration,
  11. Map<String, Color>? colorPerTitle,
  12. EdgeInsetsGeometry? contentPadding,
  13. double? inputFontSize,
  14. double? borderRadius,
  15. bool isEmptyWhenTimeNull = false,
  16. bool showClearButton = false,
  17. String? focusRole,
  18. bool showLocalIndicator = false,
})

Implementation

const TimeInput({
  required this.title,
  required this.onSubmitted,
  super.key,
  this.time,
  this.defaultTime,
  this.isUtc = true,
  this.autoFocus = false,
  this.replaceAllTextOnAutoFocus = false,
  this.onChanged,
  this.inputDecoration,
  this.colorPerTitle,
  this.contentPadding,
  this.inputFontSize,
  this.borderRadius,
  this.isEmptyWhenTimeNull = false,
  this.showClearButton = false,
  this.focusRole,
  this.showLocalIndicator = false,
});