InitCountryCode constructor
const
InitCountryCode({
- Key? key,
- ValueChanged<
Country> ? onValuePicked, - required Country selectedCountry,
- ValueChanged<
Country> ? onSelectedCountry, - bool showFlag = true,
- double? width,
- double? padding,
- bool needNumber = true,
- AnimationType animationType = AnimationType.scale,
- Duration duration = const Duration(milliseconds: 500),
- 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});