StreamAutocompleteOptions<T extends Object> constructor
const
StreamAutocompleteOptions<T extends Object> ({
- Key? key,
- Color? color,
- double elevation = 2,
- EdgeInsetsGeometry margin = const EdgeInsets.all(8),
- Clip clipBehavior = Clip.hardEdge,
- required Iterable<
T> options, - double? maxHeight,
- required Widget optionBuilder(
- BuildContext context,
- T option
- WidgetBuilder? headerBuilder,
- ShapeBorder shape = _kDefaultStreamAutocompleteOptionsShape,
Creates a StreamAutocompleteOptions widget.
Implementation
const StreamAutocompleteOptions({
super.key,
this.color,
this.elevation = 2,
this.margin = const EdgeInsets.all(8),
this.clipBehavior = Clip.hardEdge,
required this.options,
this.maxHeight,
required this.optionBuilder,
this.headerBuilder,
this.shape = _kDefaultStreamAutocompleteOptionsShape,
});