CurrencyPickerCupertino constructor

const CurrencyPickerCupertino({
  1. Key? key,
  2. ValueChanged<Country>? onValuePicked,
  3. ItemBuilder? itemBuilder,
  4. ItemFilter? itemFilter,
  5. double pickerItemHeight = defaultPickerItemHeight,
  6. double pickerSheetHeight = defaultPickerSheetHeight,
  7. TextStyle? textStyle,
  8. double diameterRatio = _kDefaultDiameterRatio,
  9. Color backgroundColor = _kDefaultBackground,
  10. double offAxisFraction = 0.0,
  11. bool useMagnifier = false,
  12. double magnification = 1.0,
  13. FixedExtentScrollController? scrollController,
  14. Country? initialCountry,
})

Implementation

const CurrencyPickerCupertino({
  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);