CountryPickerCupertino constructor
const
CountryPickerCupertino({
- Key? key,
- ValueChanged<
Country> ? onValuePicked, - ItemBuilder? itemBuilder,
- ItemFilter? itemFilter,
- double pickerItemHeight = defaultPickerItemHeight,
- double pickerSheetHeight = defaultPickerSheetHeight,
- TextStyle? textStyle,
- double diameterRatio = _kDefaultDiameterRatio,
- Color backgroundColor = _kDefaultBackground,
- double offAxisFraction = 0.0,
- bool useMagnifier = false,
- double magnification = 1.0,
- FixedExtentScrollController? scrollController,
- Country? initialCountry,
Implementation
const CountryPickerCupertino({
Key? key,
this.onValuePicked,
this.itemBuilder,
this.itemFilter,
this.pickerItemHeight = defaultPickerItemHeight,
this.pickerSheetHeight = defaultPickerSheetHeight,
this.textStyle,
this.diameterRatio = _kDefaultDiameterRatio,
this.backgroundColor = _kDefaultBackground,
this.offAxisFraction = 0.0,
this.useMagnifier = false,
this.magnification = 1.0,
this.scrollController,
this.initialCountry,
}) : super(key: key);