BorderTextField class

Class used to provide input field with rectangular border. User can set prefix icon or other style for input field User can make obscure text with provided obscuring character

Inheritance

Constructors

BorderTextField({@required BuildContext? context, @required Key? key, @required TextEditingController? controller, bool enabled = true, TextInputType inputType = TextInputType.text, bool obscureText = false, String obscureCharacter = '•', int? maxLength = 50, int maxLines = 1, TextStyle? style, TextStyle? labelStyle, TextInputAction textInputAction = TextInputAction.done, bool autoValidateMode = false, String? labelText, String? hintText, Widget? prefixIcon, required dynamic validator(String? text), bool isDense = false, TextCapitalization textCapitalization = TextCapitalization.none, bool showSuffixIcon = false, dynamic showText(bool show)?, FocusNode? focusNode, dynamic onEditingComplete()?, dynamic onTextChanged(String? text)?, dynamic filled = true})

Properties

autoValidateMode bool
final
controller TextEditingController?
final
enabled bool
final
filled → dynamic
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
hintText String?
getter/setter pair
inputType TextInputType
final
isDense bool
final
key Key?
Controls how one widget replaces another widget in the tree.
final
labelStyle TextStyle?
getter/setter pair
labelText String?
getter/setter pair
maxLength int?
final
maxLines int
final
obscureCharacter String
final
obscureText bool
final
onEditingComplete → (dynamic Function()?)
final
onTextChanged → (dynamic Function(String? text)?)
final
prefixIcon Widget?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showSuffixIcon bool
final
showText → (dynamic Function(bool show)?)
final
style TextStyle?
getter/setter pair
textCapitalization TextCapitalization
final
textInputAction TextInputAction
final
validator → dynamic Function(String? text)
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _BorderTextFieldState
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}) 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