defaultTheme static method

LocationPickerTheme defaultTheme()

Implementation

static LocationPickerTheme defaultTheme() {
  return const LocationPickerTheme(
    padding: EdgeInsets.symmetric(horizontal: 16, vertical: 12),
    margin: EdgeInsets.symmetric(vertical: 4),
    borderRadius: BorderRadius.all(Radius.circular(8)),
    maxHeight: 200,
    showSearchBox: true,
    searchHint: 'Search...',
    animationDuration: Duration(milliseconds: 200),
    showFlags: true,
    showPhoneCodes: false,
  );
}