SearchButton constructor

const SearchButton(
  1. {required dynamic addressLabelState,
  2. required dynamic getLocation(
    1. LatLng
    ),
  3. required String apiKey,
  4. required Widget loader,
  5. required Language mapLanguage,
  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.mapLanguage,
  Key? key,
}) : super(key: key);