NomoInput class

Inheritance
Available extensions
Annotations
  • @NomoComponentThemeData('input')

Constructors

NomoInput({Key? key, Color? background, FocusNode? focusNode, EdgeInsets? padding, TextStyle? style, Widget? leading, Widget? trailling, bool autoFocus = false, String? title, TextInputType? keyboardType, List<TextInputFormatter>? inputFormatters, BorderRadiusGeometry? borderRadius, String? placeHolder, TextStyle? titleStyle, TextStyle? placeHolderStyle, bool usePlaceholderAsTitle = false, int? maxLines, int? minLines, TextInputAction? textInputAction, ValueNotifier<String>? valueNotifier, String? validator(String value)?, Color? errorColor, TextStyle? errorStyle, ValueNotifier<String?>? errorNotifier, Border? border, Border? errorBorder, Border? selectedBorder, Border? selectedErrorBorder, EdgeInsets? margin, Cubic? curve, Duration? duration, String? formKey, bool autoValidate = false, double? titleSpacing, double? height, void onChanged(String value)?, TextAlign textAlign = TextAlign.start, void onFocusChanged(bool hasFocus)?, bool enabled = true, bool scrollable = false, String? initialText, bool? obscureText, Widget? top, Widget? bottom, int? maxLength, int? maxParagraphs, void onTap()?, void onTapOutside(PointerDownEvent)?, HitTestBehavior hitTestBehavior = HitTestBehavior.translucent, TextEditingController? textEditingController, void onFieldSubmitted()?})
const

Properties

autoFocus bool
final
autoValidate bool
final
background Color?
final
border Border?
final
borderRadius BorderRadiusGeometry?
final
bottom Widget?
final
curve Cubic?
final
duration Duration?
final
enabled bool
final
errorBorder Border?
final
errorColor Color?
final
errorNotifier ValueNotifier<String?>?
final
errorStyle TextStyle?
final
focusNode FocusNode?
final
formKey String?
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
hitTestBehavior HitTestBehavior
final
initialText String?
final
inputFormatters List<TextInputFormatter>?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
final
leading Widget?
final
margin EdgeInsets?
final
maxLength int?
final
maxLines int?
final
maxParagraphs int?
final
minLines int?
final
obscureText bool?
final
onChanged → void Function(String value)?
final
onFieldSubmitted → void Function()?
final
onFocusChanged → void Function(bool hasFocus)?
final
onTap → void Function()?
final
onTapOutside → void Function(PointerDownEvent)?
final
padding EdgeInsets?
final
placeHolder String?
final
placeHolderStyle TextStyle?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollable bool
final
selectedBorder Border?
final
selectedErrorBorder Border?
final
style TextStyle?
final
textAlign TextAlign
final
textEditingController TextEditingController?
final
textInputAction TextInputAction?
final
title String?
final
titleSpacing double?
final
titleStyle TextStyle?
final
toBox Widget

Available on Widget, provided by the SliverUtil extension

no setter
top Widget?
final
trailling Widget?
final
usePlaceholderAsTitle bool
final
validator String? Function(String value)?
final
valueNotifier ValueNotifier<String>?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<NomoInput>
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
wrapIf(bool condition, Widget wrapper(Widget)) Widget

Available on Widget, provided by the LayoutExtensionWidget extension

wrapIfElse(bool condition, Widget wrapper(Widget), {required Widget elseWrapper(Widget)}) Widget

Available on Widget, provided by the LayoutExtensionWidget extension

Operators

operator ==(Object other) bool
The equality operator.
inherited