PhoneConfig class

Constructors

PhoneConfig({Color focusedColor = const Color(0xFF6D59BD), Color enabledColor = const Color(0xFF6D59BD), EdgeInsetsGeometry errorPadding = const EdgeInsets.only(top: 14), double radius = 8, AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction, TextInputAction textInputAction = TextInputAction.done, String? hintText = "Phone Number", double borderWidth = 2, int? errorTextMaxLength = 2, Color? backgroundColor, Decoration? decoration, FocusNode? focusNode, bool popUpErrorText = true, bool autoFocus = false, bool showCursor = false, Color errorColor = const Color(0xFFFF5494), TextStyle? errorStyle = const TextStyle(color: Color(0xFFFF5494), fontSize: 12), TextStyle? floatingLabelStyle, TextStyle? labelStyle, String? labelText, TextStyle textStyle = const TextStyle(color: Colors.black, fontSize: 16, fontWeight: FontWeight.w400), TextStyle? hintStyle})

Properties

autoFocus bool
getter/setter pair
autovalidateMode AutovalidateMode
getter/setter pair
backgroundColor Color?
getter/setter pair
borderWidth double
getter/setter pair
decoration Decoration?
getter/setter pair
enabledColor Color
getter/setter pair
errorColor Color
getter/setter pair
errorPadding EdgeInsetsGeometry
getter/setter pair
errorStyle TextStyle?
getter/setter pair
errorText String?
getter/setter pair
errorTextMaxLength int?
getter/setter pair
floatingLabelStyle TextStyle?
final
focusedColor Color
getter/setter pair
focusNode FocusNode?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hintStyle TextStyle
getter/setter pair
hintText String?
getter/setter pair
labelStyle TextStyle?
getter/setter pair
labelText String?
getter/setter pair
popUpErrorText bool
getter/setter pair
radius double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCursor bool
getter/setter pair
textInputAction TextInputAction
final
textStyle TextStyle
getter/setter pair

Methods

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