TimeInput constructor
const
TimeInput({
- required String title,
- required dynamic onSubmitted(
- TimeOfDay? time
- Key? key,
- DateTime? time,
- TimeOfDay? defaultTime,
- bool isUtc = true,
- bool autoFocus = false,
- bool replaceAllTextOnAutoFocus = false,
- dynamic onChanged(
- TimeOfDay? time
- InputDecoration? inputDecoration,
- Map<
String, Color> ? colorPerTitle, - EdgeInsetsGeometry? contentPadding,
- double? inputFontSize,
- double? borderRadius,
- bool isEmptyWhenTimeNull = false,
- bool showClearButton = false,
- String? focusRole,
- 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,
});