CountryPickerStyle constructor

const CountryPickerStyle({
  1. String? sheetTitle,
  2. String? searchHintText,
  3. String? noResultsText,
  4. double cornerRadius = 20,
  5. EdgeInsets contentPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
  6. bool showSearch = true,
  7. Color? chipColor,
  8. Color? selectedTileColor,
  9. TextStyle? titleTextStyle,
  10. TextStyle? subtitleTextStyle,
  11. TextStyle? dialCodeTextStyle,
  12. TextStyle? searchTextStyle,
  13. InputBorder? searchBorder,
  14. double initialSheetSize = 0.85,
  15. double minSheetSize = 0.5,
  16. 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,
});