TimeFieldBlocBuilder constructor
const
TimeFieldBlocBuilder({
- Key? key,
- required InputFieldBloc<
TimeOfDay?, dynamic> timeFieldBloc, - required DateFormat format,
- required TimeOfDay initialTime,
- bool enableOnlyWhenFormBlocCanSubmit = false,
- bool isEnabled = true,
- FieldBlocErrorBuilder? errorBuilder,
- EdgeInsetsGeometry? padding,
- InputDecoration decoration = const InputDecoration(),
- SelectableDayPredicate? selectableDayPredicate,
- Locale? locale,
- TextDirection? textDirection,
- TransitionBuilder? pickerBuilder,
- RouteSettings? routeSettings,
- bool animateWhenCanShow = true,
- bool? showClearIcon,
- Widget? clearIcon,
- FocusNode? nextFocusNode,
- FocusNode? focusNode,
- TextAlign? textAlign,
- TextStyle? textStyle,
- 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);