MapboxAutocompleteSearchWidget constructor

MapboxAutocompleteSearchWidget({
  1. required Function onPlaceSelected,
  2. required String mapboxApiKey,
  3. String hintText = 'Search Place',
  4. Color appBarColor = Colors.black45,
  5. Color backButtonColor = Colors.white,
  6. Color infoButtonColor = Colors.white,
  7. Color clearButtonColor = Colors.white,
  8. Color cursorColor = Colors.white,
  9. Color searchTextColor = Colors.white,
  10. Color searchBackgroundColor = Colors.black12,
})

Implementation

MapboxAutocompleteSearchWidget({
  required this.onPlaceSelected,
  required this.mapboxApiKey,
  this.hintText = 'Search Place',
  this.appBarColor = Colors.black45,
  this.backButtonColor = Colors.white,
  this.infoButtonColor = Colors.white,
  this.clearButtonColor = Colors.white,
  this.cursorColor = Colors.white,
  this.searchTextColor = Colors.white,
  this.searchBackgroundColor = Colors.black12,
});