HMAutocomplete constructor
const
HMAutocomplete({
- Key? key,
- bool disabled = false,
- bool isModalView = true,
- required List<
String> optionsBuilder(- String value
- Widget optionsViewBuilder(
- BuildContext,
- void (),
- List<
String>
- Widget fieldViewBuilder(
- BuildContext,
- TextEditingController,
- bool,
- void (
- String value
- Color? fillColor,
- String? initialValue,
- double? modalRadius,
- EdgeInsets? optionsPaddding,
- Widget? selectedIcon,
- required void onSelected(),
- String? hintText,
- BoxDecoration? selectPanelDecoration,
- Color? selectedBgColor,
- TextStyle? selectedValueTextStyle,
- HMRadius? radius,
- HMAutocompleteSize? size,
- TextStyle? optionsTextStyle,
Implementation
const HMAutocomplete({
super.key,
this.disabled = false,
this.hidden = false,
this.isModalView = true,
required this.optionsBuilder,
this.optionsViewBuilder,
this.fieldViewBuilder,
this.fillColor,
this.initialValue,
this.modalRadius,
this.optionsPaddding,
this.selectedIcon,
required this.onSelected,
this.hintText,
this.selectPanelDecoration,
this.selectedBgColor,
this.selectedValueTextStyle,
this.radius,
this.size,
this.optionsTextStyle,
});