ZeroTextFieldMultiline class
Another variant of ZeroTextField which has multiline decoration enabled out of the box. Pretty much all the fields are identical with ZeroTextField except that ZeroTextField.suffixIcon and ZeroTextField.prefixIcon is not provided by default. So when you want to provide these fields, you can set it manually from InputDecoration
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ZeroTextField
- ZeroTextFieldMultiline
Constructors
- ZeroTextFieldMultiline.new({Key? key, String? hintText, String? helperText, String? labelText, String? errorText, TextStyle? labelStyle, TextStyle? errorStyle, TextStyle? helperStyle, ZeroTextfieldSize textfieldSize = ZeroTextfieldSize.multiline, Widget? suffix, InputDecorationType? inputDecorationType = InputDecorationType.outline, InputDecoration? decoration, AutovalidateMode? autovalidateMode = AutovalidateMode.onUserInteraction, bool? enabled, dynamic onChanged(String)?, dynamic onEditingComplete()?, TextEditingController? controller, FocusNode? focusNode, String? validator(String?)?, int? maxLines, int? minLines})
- ZeroTextFieldMultiline.fill({Key? key, String? hintText, String? labelText, ZeroTextfieldSize? textfielSizeType, TextEditingController? controller, FocusNode? focusNode, TextInputType? inputType, dynamic onChanged(String)?, dynamic onEditingComplete()?, String? validator(String?)?, AutovalidateMode? autovalidateMode, Widget? suffix, InputDecoration? decoration, String? errorText, String? helperText, bool? enabled, int? maxLines, int? minLines})
-
This already uses UnderlineInputBorder under the hood with fillColor set as per defined in the standard ZeroOne design guideline.
factory
- ZeroTextFieldMultiline.outline({Key? key, String? hintText, String? labelText, ZeroTextfieldSize? textfielSizeType, TextEditingController? controller, FocusNode? focusNode, TextInputType? inputType, dynamic onChanged(String)?, dynamic onEditingComplete()?, String? validator(String?)?, Widget? suffix, AutovalidateMode? autovalidateMode, InputDecoration? decoration, String? helperText, String? errorText, bool? enabled, int? maxLines, int? minLines})
-
This already uses OutlineInputBorder under the hood with the properties defined in the standard ZeroOne design guideline.
factory
- ZeroTextFieldMultiline.underline({Key? key, String? hintText, String? labelText, ZeroTextfieldSize? textfielSizeType, TextEditingController? controller, FocusNode? focusNode, TextInputType? inputType, dynamic onChanged(String)?, dynamic onEditingComplete()?, String? validator(String?)?, AutovalidateMode? autovalidateMode, Widget? suffix, InputDecoration? decoration, String? helperText, String? errorText, bool? enabled, int? maxLines, int? minLines})
-
This already uses UnderlineInputBorder under the hood with fillColor set as per defined in the standard ZeroOne design guideline.
factory
Properties
- autocorrect → bool
-
finalinherited
-
autofillHints
→ Iterable<
String> ? -
finalinherited
- autofocus → bool?
-
finalinherited
- autovalidateMode → AutovalidateMode?
-
finalinherited
- buildCounter → BuildCounter?
-
finalinherited
- contextMenuBuilder → ContextMenuBuilder?
-
finalinherited
- controller → TextEditingController?
-
finalinherited
- cursorColor → Color?
-
finalinherited
- cursorHeight → double?
-
finalinherited
- cursorRadius → Radius?
-
finalinherited
- cursorWidth → double
-
finalinherited
- decoration → InputDecoration?
-
finalinherited
- enabled → bool?
-
finalinherited
- enableIMEPersonalizedLearning → bool
-
finalinherited
- enableInteractiveSelection → bool?
-
finalinherited
- enableSuggestion → bool
-
finalinherited
- errorStyle → TextStyle?
-
finalinherited
- errorText → String?
-
finalinherited
- expands → bool
-
finalinherited
- focusNode → FocusNode?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- helperStyle → TextStyle?
-
finalinherited
- helperText → String?
-
finalinherited
- hintText → String?
-
finalinherited
- initialValue → String?
-
finalinherited
- inputDecorationType → InputDecorationType?
-
Values:
inputDecorationType.outline
,inputDecorationType.underline
, andinputDecorationType.fill
This affects how the widget renders OutlineInputBorder in terms of fill color, border colors, and fill colorfinalinherited -
inputFormatters
→ List<
TextInputFormatter> ? -
finalinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardAppearance → Brightness?
-
finalinherited
- keyboardType → TextInputType?
-
finalinherited
- labelStyle → TextStyle?
-
finalinherited
- labelText → String?
-
finalinherited
- maxLength → int?
-
finalinherited
- maxLengthEnforcement → MaxLengthEnforcement?
-
finalinherited
- maxLines → int?
-
finalinherited
- minLines → int?
-
finalinherited
- mouseCursor → MouseCursor?
-
finalinherited
- obscureText → bool
-
finalinherited
- obscuringCharacter → String
-
finalinherited
- onChanged → dynamic Function(String)?
-
finalinherited
- onEditingComplete → dynamic Function()?
-
finalinherited
- onFieldSubmitted → void Function(String text)?
-
finalinherited
- onFocusChanged → OnFocusChanged?
-
finalinherited
- onSaved → void Function(String? text)?
-
finalinherited
- onTap → dynamic Function()?
-
finalinherited
- onTapOutside → dynamic Function(PointerDownEvent event)?
-
finalinherited
- prefix → Widget?
-
If set, this will override
prefix
that is defined in InputDecorationfinalinherited - prefixIcon → Widget?
-
If set, this will override
prefixIcon
that is defined in InputDecorationfinalinherited - readOnly → bool
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollController → ScrollController?
-
finalinherited
- scrollPadding → EdgeInsets
-
finalinherited
- scrollPhysics → ScrollPhysics?
-
finalinherited
- selectionControls → TextSelectionControls?
-
finalinherited
- showCursor → bool
-
finalinherited
- strutStyle → StrutStyle?
-
finalinherited
- style → TextStyle?
-
finalinherited
- suffix → Widget?
-
If set, this will override
suffix
that is defined in InputDecorationfinalinherited - suffixIcon → Widget?
-
If set, this will override
suffixIcon
that is defined in InputDecorationfinalinherited - textAlign → TextAlign
-
finalinherited
- textAlignVertical → TextAlignVertical?
-
finalinherited
- textCapitalization → TextCapitalization
-
finalinherited
- textDirection → TextDirection?
-
finalinherited
- textfieldSize → ZeroTextfieldSize
-
TextField's size; large or small. Default value: ZeroTextfieldSize.small
finalinherited
- textInputAction → TextInputAction?
-
finalinherited
- validator → String? Function(String?)?
-
finalinherited
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< ZeroTextField> -
Creates the mutable state for this widget at a given 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, 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