DateTimeFieldBlocBuilder constructor

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

Implementation

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