UKitTextField class

Inheritance

Constructors

UKitTextField.new({Key? key, UKitTextFieldBuilder? as, String? hint, String? label, String? initialValue, FormFieldValidator<String>? validator, double? borderRadius, UKitBorderType? borderType, Color? borderColor, Color? focusBorderColor, Color? errorBorderColor, double? borderWidth, Color? hintColor, Color? labelColor, bool? obscureText, TextInputType? keyboardType, required Function onChanged, Function? onTap, Function? onSubmitted, TextEditingController? controller, Color? bgColor, FloatingLabelBehavior? floatingLabelBehavior, Widget? suffix, Widget? prefix, int? maxLength, int? maxLines, bool? readOnly, TextCapitalization? textCapitalization, bool? showObscureSwitch, FocusNode? focusNode, BoxConstraints? suffixIconConstraints, TextAlign textAlign = TextAlign.start, List<TextInputFormatter>? inputFormatters, TextInputAction? textInputAction})
const

Properties

as UKitTextFieldBuilder?
final
bgColor Color?
final
borderColor Color?
final
borderRadius double?
final
borderType UKitBorderType?
final
borderWidth double?
final
controller TextEditingController?
final
errorBorderColor Color?
final
floatingLabelBehavior FloatingLabelBehavior?
final
focusBorderColor Color?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
hint String?
final
hintColor Color?
final
initialValue String?
final
inputFormatters List<TextInputFormatter>?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
final
label String?
final
labelColor Color?
final
maxLength int?
final
maxLines int?
final
obscureText bool?
final
onChanged Function
final
onSubmitted Function?
final
onTap Function?
final
prefix Widget?
final
readOnly bool?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showObscureSwitch bool?
final
suffix Widget?
final
suffixIconConstraints BoxConstraints?
final
textAlign TextAlign
final
textCapitalization TextCapitalization?
final
textInputAction TextInputAction?
final
validator FormFieldValidator<String>?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<UKitTextField>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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

Static Methods

native({String? hint, String? label, String? initialValue, Color? hintColor, double? padding, Color? bgColor, Color? labelColor, Color? borderColor, Color? focusBorderColor, bool? obscureText, required Function onChanged, Widget? suffix, Widget? prefix, TextInputType? keyboardType, TextEditingController? controller, int? maxLength, int? maxLines, bool? readOnly, TextCapitalization? textCapitalization, FocusNode? focusNode, BoxConstraints? suffixIconConstraints, TextAlign? textAlign, List<TextInputFormatter>? inputFormatters, Function? onSubmitted, TextInputAction? textInputAction}) Widget
Native Text Fields