CountryPickerStyle constructor

const CountryPickerStyle({
  1. String sheetTitle = 'Select country',
  2. String searchHintText = 'Search by name, ISO, or code',
  3. double cornerRadius = 20,
  4. EdgeInsets contentPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
  5. bool showSearch = true,
  6. Color? chipColor,
  7. Color? selectedTileColor,
  8. TextStyle? titleTextStyle,
  9. TextStyle? subtitleTextStyle,
  10. TextStyle? dialCodeTextStyle,
  11. TextStyle? searchTextStyle,
  12. InputBorder? searchBorder,
  13. double initialSheetSize = 0.85,
  14. double minSheetSize = 0.5,
  15. double maxSheetSize = 0.95,
})

Implementation

const CountryPickerStyle({
  this.sheetTitle = 'Select country',
  this.searchHintText = 'Search by name, ISO, or code',
  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,
});