ShadTimePickerField constructor

const ShadTimePickerField({
  1. Key? key,
  2. Widget? label,
  3. Widget? placeholder,
  4. ShadTimePickerTextEditingController? controller,
  5. double? gap,
  6. TextStyle? style,
  7. TextStyle? labelStyle,
  8. ValueChanged<String>? onChanged,
  9. FocusNode? focusNode,
  10. double? width,
  11. EdgeInsetsGeometry? padding,
  12. ShadDecoration? decoration,
  13. bool enabled = true,
  14. WidgetBuilder? keyboardToolbarBuilder,
})

A single input field for ShadTimePicker, used for hour, minute, or second input.

Implementation

const ShadTimePickerField({
  super.key,
  this.label,
  this.placeholder,
  this.controller,
  this.gap,
  this.style,
  this.labelStyle,
  this.onChanged,
  this.focusNode,
  this.width,
  this.padding,
  this.decoration,
  this.enabled = true,
  this.keyboardToolbarBuilder,
});