FMWidget constructor
const
FMWidget({
- Key? key,
- Widget? marker,
- dynamic onError()?,
- Widget? loadingView,
- FMData? initialValue,
- FMSearchOptions? searchOptions,
- TextStyle? attributionStyle,
- Widget? currentLocationFab,
- required dynamic onSelected(),
- FMSelectButtonOptions? selectButtonOptions,
- TextFormField searchTextFieldBuilder(
- FocusNode focusNode,
- TextEditingController controller,
- void onChanged()?
- FMSearchResultListOptions? searchResultListOptions,
- EdgeInsets searchFieldMargin = const EdgeInsets.all(20),
- Alignment attributionAlignment = Alignment.bottomLeft,
Implementation
const FMWidget({
super.key,
this.marker,
this.onError,
this.loadingView,
this.initialValue,
this.searchOptions,
this.attributionStyle,
this.currentLocationFab,
required this.onSelected,
this.selectButtonOptions,
this.searchTextFieldBuilder,
this.searchResultListOptions,
this.searchFieldMargin = const EdgeInsets.all(20),
this.attributionAlignment = Alignment.bottomLeft,
});