BasicInput class

Inheritance

Constructors

BasicInput({Key? key, String? name, BasicInputSize? size, double? width, String? initialValue, TextEditingController? controller, FocusNode? focusNode, TextStyle? textStyle, TextAlign textAlign = TextAlign.start, TextAlignVertical? textAlignVertical, TextInputAction? textInputAction, TextInputType? keyboardType, int? maxLines, int? minLines, int? maxLength, bool enabled = true, bool obscureText = false, Color? cursorColor, AutovalidateMode? autoValidateMode, FormFieldValidator<String>? validator, List<TextInputFormatter>? inputFormatters, ValueTransformer<String?>? valueTransformer, ValueChanged<String?>? onChanged, GestureTapCallback? onTap, VoidCallback? onEditingComplete, FormFieldSetter? onSaved, bool? isDense, bool? filled, Widget? prefixIcon, Widget? suffixIcon, EdgeInsets? contentPadding, InputBorder? focusedBorder, InputBorder? enabledBorder, InputBorder? disabledBorder, InputBorder? errorBorder, InputBorder? focusedErrorBorder, Color? fillColor, Color? hoverColor, String? labelText, TextStyle? labelStyle, TextStyle? floatingLabelStyle, FloatingLabelBehavior? floatingLabelBehavior, String? hintText, TextStyle? hintStyle, String? errorText, int? errorMaxLines, TextStyle? errorStyle})
const

Properties

autoValidateMode AutovalidateMode?
final
contentPadding EdgeInsets?
final
controller TextEditingController?
final
cursorColor Color?
final
disabledBorder InputBorder?
final
enabled bool
final
enabledBorder InputBorder?
final
errorBorder InputBorder?
final
errorMaxLines int?
final
errorStyle TextStyle?
final
errorText String?
final
fillColor Color?
final
filled bool?
final
floatingLabelBehavior FloatingLabelBehavior?
final
floatingLabelStyle TextStyle?
final
focusedBorder InputBorder?
final
focusedErrorBorder InputBorder?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
hintStyle TextStyle?
final
hintText String?
final
hoverColor Color?
final
initialValue String?
final
inputFormatters List<TextInputFormatter>?
final
isDense bool?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
final
labelStyle TextStyle?
final
labelText String?
final
maxLength int?
final
maxLines int?
final
minLines int?
final
name String?
final
obscureText bool
final
onChanged ValueChanged<String?>?
final
onEditingComplete VoidCallback?
final
onSaved FormFieldSetter?
final
onTap GestureTapCallback?
final
prefixIcon Widget?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size BasicInputSize?
final
suffixIcon Widget?
final
textAlign TextAlign
final
textAlignVertical TextAlignVertical?
final
textInputAction TextInputAction?
final
textStyle TextStyle?
final
validator FormFieldValidator<String>?
final
valueTransformer → ValueTransformer<String?>?
final
width double?
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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