DurationFieldBlocBuilder constructor
const
DurationFieldBlocBuilder({
- Key? key,
- required InputFieldBloc<
Duration?, dynamic> ? inputFieldBloc, - required List<
DurationPickerRequest> requests, - bool enableOnlyWhenFormBlocCanSubmit = true,
- bool animateWhenCanShow = true,
- FocusNode? focusNode,
- FocusNode? nextFocusNode,
- bool isEnabled = true,
- bool readOnly = false,
- EdgeInsets? padding,
- TextStyle? style,
- InputDecoration decoration = const InputDecoration(),
- SuffixButton? suffixButton,
- Icon? clearIcon = const Icon(Icons.clear),
- FieldValuePicker<
Duration> ? picker, - FieldBlocErrorBuilder? errorBuilder,
- FieldValueBuilder<
Duration> ? builder,
Implementation
const DurationFieldBlocBuilder({
Key? key,
required this.inputFieldBloc,
required this.requests,
this.enableOnlyWhenFormBlocCanSubmit = true,
this.animateWhenCanShow = true,
this.focusNode,
this.nextFocusNode,
this.isEnabled = true,
this.readOnly = false,
this.padding,
this.style,
this.decoration = const InputDecoration(),
this.suffixButton,
this.clearIcon = const Icon(Icons.clear),
this.picker,
this.errorBuilder,
this.builder,
}) : super(key: key);