NsgTextFormField class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- NsgTextFormField
- Available extensions
Constructors
- NsgTextFormField.new({Key? key, FocusNode? focusNode, bool showLabel = true, String? label, bool required = false, TextEditingController? textController, Color? labelColor, void onEditingComplete(String text)?, void onChange(String text)?, void onFocusChanged(bool isFocused)?, KeyEventResult onKeyEvent(FocusNode focus, KeyEvent event)?, void onFieldSubmitted(String text)?, EdgeInsets? contentPadding, bool showDeleteIcon = true, String? defaultValue, TextFormFieldType? textFormFieldType, Color? borderColor, Color? filledColor, TextCapitalization textCapitalization = TextCapitalization.none, bool autocorrect = true, NsgInputMaskType? maskType, String? mask, bool autofocus = false, int maxLines = 1, int minLines = 1, Widget? suffixIcon, FloatingLabelBehavior? floatingLabelBehavior, bool? filled, bool? isDense, TextAlign textAlign = TextAlign.start, TextStyle? textStyle, Widget? labelWidget, String? hint, Widget? prefix, bool showLock = false, int? maxLength, TextInputType? keyboard, double? fontSize, bool disabled = false})
-
const
Properties
- autocorrect → bool
-
final
- autofocus → bool
-
final
- borderColor → Color?
-
final
- contentPadding → EdgeInsets?
-
final
- defaultValue → String?
-
final
- disabled → bool
-
final
- filled → bool?
-
final
- filledColor → Color?
-
final
- floatingLabelBehavior → FloatingLabelBehavior?
-
final
- focusNode → FocusNode?
-
final
- fontSize → double?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → String?
-
final
- isDense → bool?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboard → TextInputType?
-
final
- label → String?
-
final
- labelColor → Color?
-
final
- labelWidget → Widget?
-
final
- mask → String?
-
final
- maskType → NsgInputMaskType?
-
final
- maxLength → int?
-
final
- maxLines → int
-
final
- minLines → int
-
final
- onChange → void Function(String text)?
-
final
- onEditingComplete → void Function(String text)?
-
final
- onFieldSubmitted → void Function(String text)?
-
final
- onFocusChanged → void Function(bool isFocused)?
-
final
- onKeyEvent → KeyEventResult Function(FocusNode focus, KeyEvent event)?
-
Для обработки нажатия на физические кнопки при нахождении в фокусе
final
- prefix → Widget?
-
final
- required → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showDeleteIcon → bool
-
final
- showLabel → bool
-
final
- showLock → bool
-
final
- suffixIcon → Widget?
-
final
- textAlign → TextAlign
-
final
- textCapitalization → TextCapitalization
-
final
- textController → TextEditingController?
-
final
- textFormFieldType → TextFormFieldType?
-
final
- textStyle → TextStyle?
-
final
Methods
-
asGlass(
{double blurX = 10.0, double blurY = 10.0, Color tintColor = Colors.white, bool frosted = true, BorderRadius clipBorderRadius = BorderRadius.zero, Clip clipBehaviour = Clip.antiAlias, TileMode tileMode = TileMode.clamp, CustomClipper< RRect> ? clipper}) → ClipRRect -
Available on T, provided by the NsgGlassWidget extension
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< StatefulWidget> -
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