material_input/material_input library
Classes
-
BaseMaterialInputValueAccessor<
T> -
Common logic for a
ControlValueAccessor
for aBaseMaterialInputComponent
. - MaterialInputBlurValueAccessor
-
ControlValueAccessor
to be used with a MaterialInputComponent that updates on blur. - MaterialInputChangeValueAccessor
-
ControlValueAccessor
to be used with a MaterialInputComponent that updates on change. - MaterialInputComponent
-
material-input
is a single- or multi-line text field where user can enter input. It can optionally have a label. NOTE: Clients must declare materialInputDirectives in their directives list instead of MaterialInputComponent. - MaterialInputDefaultValueAccessor
-
ControlValueAccessor
for MaterialInputComponent that updates on keypress. - MaterialMultilineInputComponent
-
material-input
is a multi-line text field where user can enter input, and can optionally have a label. - NgModel
-
Creates a form
NgControl
instance from a domain model and binds it to a form control element. The formNgControl
instance tracks the value, user interaction, and validation status of the control and keeps the view synced with the model.
Constants
-
materialInputDirectives
→ const List<
Type> - A list of all material input directives.
- materialInputErrorKey → const String
- Key used in the Control's error map, when there is an error.
Typedefs
- CharacterCounter = int Function(String? inputText)
- ValidityCheck = String Function(String? inputText)