ReactiveDropdownButton<T extends DropdownItem?> constructor
const
ReactiveDropdownButton<T extends DropdownItem?> ({
- Key? key,
- required BehaviorSubject<
T?> subject, - required String hint,
- required List<
T> options, - ValueStream<
List< ? optionsStream,T> > - bool editable = true,
- required TextStyle hintStyle,
- Widget customBuilder(
- BuildContext,
- dynamic value,
- dynamic onValueChange(
- dynamic
- required InputStatus onChange(
- T?
- Stream<
bool> ? showErrorsStream, - String errorMessage = '',
- required TextStyle errorTextStyle,
Implementation
const ReactiveDropdownButton({
super.key,
required this.subject,
required this.hint,
required this.options,
this.optionsStream,
this.editable = true,
required this.hintStyle,
this.customBuilder,
required this.onChange,
this.showErrorsStream,
this.errorMessage = '',
required this.errorTextStyle
});