FMWidget constructor

const FMWidget({
  1. Key? key,
  2. Widget? marker,
  3. dynamic onError(
    1. Object,
    2. StackTrace
    )?,
  4. Widget? loadingView,
  5. FMData? initialValue,
  6. FMSearchOptions? searchOptions,
  7. TextStyle? attributionStyle,
  8. Widget? currentLocationFab,
  9. required dynamic onSelected(
    1. FMData
    ),
  10. FMSelectButtonOptions? selectButtonOptions,
  11. TextFormField searchTextFieldBuilder(
    1. FocusNode focusNode,
    2. TextEditingController controller,
    3. void onChanged(
      1. String
      )?
    )?,
  12. FMSearchResultListOptions? searchResultListOptions,
  13. EdgeInsets searchFieldMargin = const EdgeInsets.all(20),
  14. 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,
});