TimeFieldBlocBuilder constructor

const TimeFieldBlocBuilder({
  1. Key? key,
  2. required InputFieldBloc<TimeOfDay?, dynamic> timeFieldBloc,
  3. required DateFormat format,
  4. required TimeOfDay initialTime,
  5. bool enableOnlyWhenFormBlocCanSubmit = false,
  6. bool isEnabled = true,
  7. FieldBlocErrorBuilder? errorBuilder,
  8. EdgeInsetsGeometry? padding,
  9. InputDecoration decoration = const InputDecoration(),
  10. SelectableDayPredicate? selectableDayPredicate,
  11. Locale? locale,
  12. TextDirection? textDirection,
  13. TransitionBuilder? pickerBuilder,
  14. bool useRootNavigator = false,
  15. RouteSettings? routeSettings,
  16. bool animateWhenCanShow = true,
  17. bool? showClearIcon,
  18. Widget? clearIcon,
  19. FocusNode? nextFocusNode,
  20. FocusNode? focusNode,
  21. TextAlign? textAlign,
  22. TextStyle? textStyle,
  23. MaterialStateProperty<Color?>? textColor,
})

Implementation

const TimeFieldBlocBuilder({
  Key? key,
  required this.timeFieldBloc,
  required this.format,
  required this.initialTime,
  this.enableOnlyWhenFormBlocCanSubmit = false,
  this.isEnabled = true,
  this.errorBuilder,
  this.padding,
  this.decoration = const InputDecoration(),
  this.selectableDayPredicate,
  this.locale,
  this.textDirection,
  this.pickerBuilder,
  this.useRootNavigator = false,
  this.routeSettings,
  this.animateWhenCanShow = true,
  this.showClearIcon,
  this.clearIcon,
  this.nextFocusNode,
  this.focusNode,
  this.textAlign,
  this.textStyle,
  this.textColor,
}) : super(key: key);