JuiFlatInput2 class

Input de texto seguindo a versão atualizada do JstUI.

Inheritance

Constructors

JuiFlatInput2({Key? posKey, Key? key, Key? textFieldKey, String? hintText, TextEditingController? controller, Color? color, Color inputColor = const Color(0xFF213A62), Color? disabledColor, Color? borderColor, Color? disabledBorderColor = const Color(0xFFEEEEEE), Color? errorColor = JuiColors.error, Color? hintColor, Color fillColor = const Color(0x11333333), Color? buttonColor, bool? disabled, FormFieldValidator<String>? validator, TextInputType? keyboardType, int? maxLength, MaxLengthEnforcement? maxLengthEnforcement, List<TextInputFormatter>? inputFormatters, bool readOnly = false, String? label, Widget? iconButton, dynamic onChanged(String? value)?, FocusNode? focusNode, bool isPassword = false, String? initialValue, Iterable<String>? autofillHints, TextInputAction? textInputAction, ValueChanged<String>? onFieldSubmitted, bool? isLoading, bool isDarkBackground = false, dynamic onTap()?, bool isLabelSmall = false, AutovalidateMode? autovalidateMode, bool isFontBigWeight = false})
JuiFlatInput2.secondary({Key? key, Key? textFieldKey, String? hintText, TextEditingController? controller, Color? color = JuiColors.white, Color inputColor = JuiColors.white, Color? disabledColor = const Color(0xff9A9B9E), Color? borderColor = const Color.fromRGBO(255, 255, 255, 0.7), Color? disabledBorderColor, Color? errorColor, Color? hintColor, Color fillColor = const Color(0x00eeeeee), Color? buttonColor, bool? disabled, FormFieldValidator<String>? validator, TextInputType? keyboardType, int? maxLength, List<TextInputFormatter>? inputFormatters, bool readOnly = false, String? label, Widget? iconButton, dynamic onChanged(String? value)?, FocusNode? focusNode, bool isPassword = false, String? initialValue, Iterable<String>? autofillHints, TextInputAction? textInputAction, ValueChanged<String>? onFieldSubmitted, bool? isLoading, bool isDarkBackground = true, dynamic onTap()?, bool isLabelSmall = false, bool isFontBigWeight = false, MaxLengthEnforcement? maxLengthEnforcement, AutovalidateMode? autovalidateMode})

Properties

autofillHints Iterable<String>?
Informa ao dispositivo qual o tipo de campo para que sejam feitas as sugestões de texto adequadas.
final
autovalidateMode AutovalidateMode?
Input faz sua própria validação baseado na definição deste
final
borderColor Color?
final
buttonColor Color?
Cor do botão
final
color Color?
final
controller TextEditingController?
final
disabled bool?
final
disabledBorderColor Color?
final
disabledColor Color?
final
errorColor Color?
final
fillColor Color
final
focusNode FocusNode?
Referência de foco para o input.
final
hashCode int
The hash code for this object.
no setterinherited
hintColor Color?
final
hintText String?
final
iconButton Widget?
Ícone exibido ao final do input (lado direito).
final
initialValue String?
Valor inicial do input.
final
inputColor Color
final
inputFormatters List<TextInputFormatter>?
final
isDarkBackground bool
Indica se o componente está sendo aplicado sobre um fundo de cor escura.
final
isFontBigWeight bool
final
isLabelSmall bool
Quando true, diminui o tamanho da fonte ao topo do input.
final
isLoading bool?
final
isPassword bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
final
label String?
getter/setter pair
maxLength int?
final
maxLengthEnforcement MaxLengthEnforcement?
final
onChanged → dynamic Function(String? value)?
final
onFieldSubmitted ValueChanged<String>?
Método chamado quando o usuário pressiona o botão de ação disponível no teclado (próximo, concluir, etc).
final
onTap → dynamic Function()?
final
posKey Key?
chave usada no cancelamento de pos
getter/setter pair
readOnly bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textFieldKey Key?
final
textInputAction TextInputAction?
Ação opcional disparada quando o usuário pressiona o botão de confirmação exibido (próximo, concluir, etc).
final
validator FormFieldValidator<String>?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<JuiFlatInput2>
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