InputTextComponent class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- InputTextComponent
Constructors
-
InputTextComponent({dynamic onChanged(String)?, dynamic onSubmitted(String)?, dynamic onChangeObscureText(bool)?, bool? enabled = true, String? errorText, TextEditingController? textEditingController, dynamic inputFormatters, Iterable<
String> ? autofillHints, bool? obscureText, TextInputType? textInputType, bool autoFocus = false, FocusNode? focusNode, dynamic prefixIconData, String? hintText, String? labelText, String? helperText, bool showLabelAboveTextField = false, FloatingLabelBehavior floatingLabelBehavior = FloatingLabelBehavior.auto, Color? fillColor, Color? accentColor = Colors.grey, Color textColor = Colors.black, double borderRadius = 6, bool validator(String)?, bool showConfirmation = true, bool showError = true, double verticalPadding = 20, double horizontalPadding = 12, TextInputAction? textInputAction, Color? borderColor = Colors.grey, String? counterText = '', int? maxLength = 100, int? minLines, int? maxLines, Key? key}) -
const
Properties
- accentColor → Color?
-
final
-
autofillHints
→ Iterable<
String> ? -
final
- autoFocus → bool
-
final
- borderColor → Color?
-
final
- borderRadius → double
-
final
- counterText → String?
-
final
- enabled → bool?
-
final
- errorText → String?
-
final
- fillColor → Color?
-
final
- floatingLabelBehavior → FloatingLabelBehavior
-
final
- focusNode → FocusNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- helperText → String?
-
Text placed below the text field
final
- hintText → String?
-
final
- horizontalPadding → double
-
final
- inputFormatters → dynamic
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- labelText → String?
-
final
- maxLength → int?
-
final
- maxLines → int?
-
final
- minLines → int?
-
final
- obscureText → bool?
-
final
- onChanged → dynamic Function(String)?
-
final
- onChangeObscureText → dynamic Function(bool)?
-
final
- onSubmitted → dynamic Function(String)?
-
final
- prefixIconData → dynamic
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showConfirmation → bool
-
final
- showError → bool
-
final
- showLabelAboveTextField → bool
-
final
- textColor → Color
-
final
- textEditingController → TextEditingController?
-
final
- textInputAction → TextInputAction?
-
final
- textInputType → TextInputType?
-
final
- validator → bool Function(String)?
-
final
- verticalPadding → double
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< InputTextComponent> -
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