material_input/material_input library
Classes
-
BaseMaterialInputValueAccessor<
T> -
Common logic for a
ControlValueAccessorfor aBaseMaterialInputComponent. - MaterialInputBlurValueAccessor
-
ControlValueAccessorto be used with a MaterialInputComponent that updates on blur. - MaterialInputChangeValueAccessor
-
ControlValueAccessorto be used with a MaterialInputComponent that updates on change. - MaterialInputComponent
-
material-inputis 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
-
ControlValueAccessorfor MaterialInputComponent that updates on keypress. - MaterialMultilineInputComponent
-
material-inputis a multi-line text field where user can enter input, and can optionally have a label. - NgModel
-
Creates a form
NgControlinstance from a domain model and binds it to a form control element. The formNgControlinstance 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)