InitCountryCode constructor

const InitCountryCode({
  1. Key? key,
  2. ValueChanged<Country>? onValuePicked,
  3. required Country selectedCountry,
  4. ValueChanged<Country>? onSelectedCountry,
  5. bool showFlag = true,
  6. double? width,
  7. double? padding,
  8. bool needNumber = true,
  9. AnimationType animationType = AnimationType.scale,
  10. Duration duration = const Duration(milliseconds: 500),
  11. BoxDecoration? decoration,
})

Implementation

const InitCountryCode(
    {super.key,
    this.onValuePicked,
    required this.selectedCountry,
    this.onSelectedCountry,
    this.showFlag = true,
    this.width,
    this.padding,
    this.needNumber = true,
    this.animationType = AnimationType.scale,
    this.duration = const Duration(milliseconds: 500),
    this.decoration});