CountryButtonStyle class

Constructors

CountryButtonStyle({TextStyle? textStyle, EdgeInsets? padding, double flagSize = 20, bool showFlag = true, bool showDialCode = true, bool showIsoCode = false, bool showDropdownIcon = true})
const

Properties

flagSize double
The radius of the flag in the country button
final
hashCode int
The hash code for this object.
no setterinherited
padding EdgeInsets?
padding inside country button, this can be used to align the country button with the phone number and is mostly useful when using isCountryButtonPersistent as true.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showDialCode bool
Whether to show Dial Code in the country button setting this to false will hide, for example, (+1)
final
showDropdownIcon bool
Wether to show the dropdown icon in the country button
final
showFlag bool
Wether to show the country flag in the country button
final
showIsoCode bool
Wether to show the country iso code in the country button
final
textStyle TextStyle?
Text style of the country dial code inside the country button
final

Methods

copyWith({TextStyle? textStyle, EdgeInsets? padding, double? flagSize, bool? showFlag, bool? showDialCode, bool? showIsoCode, bool? showDropdownIcon}) CountryButtonStyle
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited