CountryPickerStyle constructor
const
CountryPickerStyle({
- String? sheetTitle,
- String? searchHintText,
- String? noResultsText,
- double cornerRadius = 20,
- EdgeInsets contentPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
- bool showSearch = true,
- Color? chipColor,
- Color? selectedTileColor,
- TextStyle? titleTextStyle,
- TextStyle? subtitleTextStyle,
- TextStyle? dialCodeTextStyle,
- TextStyle? searchTextStyle,
- InputBorder? searchBorder,
- double initialSheetSize = 0.85,
- double minSheetSize = 0.5,
- double maxSheetSize = 0.95,
Implementation
const CountryPickerStyle({
this.sheetTitle,
this.searchHintText,
this.noResultsText,
this.cornerRadius = 20,
this.contentPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
this.showSearch = true,
this.chipColor,
this.selectedTileColor,
this.titleTextStyle,
this.subtitleTextStyle,
this.dialCodeTextStyle,
this.searchTextStyle,
this.searchBorder,
this.initialSheetSize = 0.85,
this.minSheetSize = 0.5,
this.maxSheetSize = 0.95,
});