DurationFieldBlocBuilder constructor

const DurationFieldBlocBuilder({
  1. Key? key,
  2. required InputFieldBloc<Duration?, dynamic>? inputFieldBloc,
  3. required List<DurationPickerRequest> requests,
  4. bool enableOnlyWhenFormBlocCanSubmit = true,
  5. bool animateWhenCanShow = true,
  6. FocusNode? focusNode,
  7. FocusNode? nextFocusNode,
  8. bool isEnabled = true,
  9. bool readOnly = false,
  10. EdgeInsets? padding,
  11. TextStyle? style,
  12. InputDecoration decoration = const InputDecoration(),
  13. SuffixButton? suffixButton,
  14. Icon? clearIcon = const Icon(Icons.clear),
  15. FieldValuePicker<Duration>? picker,
  16. FieldBlocErrorBuilder? errorBuilder,
  17. 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);