JuiTextArea class
TextArea padrão para o Conta Justa.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- JuiTextArea
Constructors
-
JuiTextArea({Key? key, GlobalKey<
State< ? inputKey, String? label, String? hintText, TextStyle? style, Color? colorText, TextInputType? keyboardType, Color? labelColor, Color cursorColor = JuiColors.tertiaryColor, Color backgroundColor = const Color(0xFFF8F8F8), Color? errorColor, bool disabled = false, Color disabledColor = const Color(0xffececec), Color disabledColorText = const Color(0xff999999), int maxLines = 4, TextInputAction? textInputAction, String? initialValue, TextEditingController? controller, dynamic onFieldSubmitted(String)?, List<StatefulWidget> >TextInputFormatter> ? inputFormatters, String? validator(String?)?, Widget? suffixIcon}) -
const
Properties
- backgroundColor → Color
-
Cor de fundo do TextArea.
final
- colorText → Color?
-
final
- controller → TextEditingController?
-
Controller do TextArea.
final
- cursorColor → Color
-
Cor do cursor.
final
- disabled → bool
-
Flag para desabilitar o input.
final
- disabledColor → Color
-
Cor do input quando desabilitado.
final
- disabledColorText → Color
-
Cor do texto no input quando desabilitado.
final
- errorColor → Color?
-
Cor de erro.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintText → String?
-
Placeholder para o input, exibido dentro do input.
final
- initialValue → String?
-
Valor inicial do input.
final
-
inputFormatters
→ List<
TextInputFormatter> ? -
Formatters para o texto do input.
final
-
inputKey
→ GlobalKey<
State< ?StatefulWidget> > -
GlobalKey utilizado para gerenciar o input.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardType → TextInputType?
-
Tipo de teclado.
final
- label → String?
-
Label do input, exibido acima da Text Area.
final
- labelColor → Color?
-
Cor do texto exibido sobre o input.
final
- maxLines → int
-
Quantidade de linhas do TextArea; define o tamanho do input.
final
- onFieldSubmitted → dynamic Function(String)?
-
Ação disparada quando o usuário submete o formulário.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → TextStyle?
-
Estilo do TextArea.
final
- suffixIcon → Widget?
-
An icon that appears after the editable part of the text field.
final
- textInputAction → TextInputAction?
-
Ação disparada quando o usuário pressiona o botão de finalização.
final
- validator → String? Function(String?)?
-
Função utilizada para validar o input.
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's 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