SearchButton constructor

const SearchButton({
  1. required dynamic addressLabelState,
  2. required dynamic getLocation(
    1. LatLng
    ),
  3. required String apiKey,
  4. required Widget loader,
  5. required MapLocale mapLocale,
  6. Key? key,
})

The widget which will be used in search

Implementation

const SearchButton({
  required this.addressLabelState,
  required this.getLocation,
  required this.apiKey,
  required this.loader,
  required this.mapLocale,
  Key? key,
}) : super(key: key);