TTimePicker constructor

const TTimePicker({
  1. Key? key,
  2. String? label,
  3. String? tag,
  4. String? placeholder,
  5. String? helperText,
  6. String? message,
  7. bool isRequired = false,
  8. bool disabled = false,
  9. TInputSize? size,
  10. Color? color,
  11. BoxDecoration? boxDecoration,
  12. Widget? preWidget,
  13. Widget? postWidget,
  14. List<String? Function(TimeOfDay?)>? rules,
  15. List<String>? errors,
  16. Duration? validationDebounce,
  17. bool? skipValidation,
  18. TimeOfDay? value,
  19. ValueNotifier<TimeOfDay>? valueNotifier,
  20. ValueChanged<TimeOfDay>? onValueChanged,
  21. FocusNode? focusNode,
  22. DateFormat? format,
  23. VoidCallback? onShow,
  24. VoidCallback? onHide,
  25. VoidCallback? onTap,
})

Implementation

const TTimePicker({
  super.key,
  this.label,
  this.tag,
  this.placeholder,
  this.helperText,
  this.message,
  this.isRequired = false,
  this.disabled = false,
  this.size,
  this.color,
  this.boxDecoration,
  this.preWidget,
  this.postWidget,
  this.rules,
  this.errors,
  this.validationDebounce,
  this.skipValidation,
  this.value,
  this.valueNotifier,
  this.onValueChanged,
  this.focusNode,
  this.format,
  this.onShow,
  this.onHide,
  this.onTap,
});