PhoneInputTheme class

Theme data for PhoneInput.

Constructors

PhoneInputTheme.new({EdgeInsetsGeometry? padding, BorderRadiusGeometry? borderRadius, BoxConstraints? popupConstraints, double? maxWidth, double? flagHeight, double? flagWidth, double? flagGap, double? countryGap, Shape? flagShape})
Theme data for PhoneInput.
const

Properties

borderRadius BorderRadiusGeometry?
The border radius of the PhoneInput.
final
countryGap double?
The gap between the country code and the text field.
final
flagGap double?
The gap between the flag and the country code.
final
flagHeight double?
The height of the flag.
final
flagShape → Shape?
The shape of the flag.
final
flagWidth double?
The width of the flag.
final
hashCode int
The hash code for this object.
no setteroverride
maxWidth double?
The maximum width of the PhoneInput.
final
padding EdgeInsetsGeometry?
The padding of the PhoneInput.
final
popupConstraints BoxConstraints?
The constraints of the country selector popup.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({ValueGetter<EdgeInsetsGeometry?>? padding, ValueGetter<BorderRadiusGeometry?>? borderRadius, ValueGetter<BoxConstraints?>? popupConstraints, ValueGetter<double?>? maxWidth, ValueGetter<double?>? flagHeight, ValueGetter<double?>? flagWidth, ValueGetter<double?>? flagGap, ValueGetter<double?>? countryGap, ValueGetter<Shape?>? flagShape}) PhoneInputTheme
Creates a copy of this PhoneInputTheme with the given values overridden.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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