material_input/material_number_accessor library
Classes
-
BaseMaterialNumberValueAccessor<
T> - Base accessor to handle various numerical types with MaterialInput.
- CheckIntegerValidator
-
Validatorwhich will validate a number input is an integer. - CheckNonNegativeValidator
-
Validatorwhich will validate a number input is not negative, >= 0 - DecimalNumberFormatDirective
-
Helper directive to provide a basic
NumberFormatpattern for use with number accessors. - LowerBoundValidator
-
Validatorwhich validates that a number input is greater or equal than lowerBound. - 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. - MaterialInt64ValueAccessor
-
ControlValueAccessorwhich will coerce an input into anInt64. - MaterialNumberValidator
- MaterialNumberValueAccessor
-
ControlValueAccessorwhich will coerce an input into a num. - PositiveNumValidator
-
Validatorwhich will validate a number input is positive > 0. - UpperBoundValidator
-
Validatorwhich validates that a number input is less or equal than upperBound.
Constants
-
materialNumberInputDirectives
→ const List<
Type>
Functions
-
decimalNumberFormat(
) → NumberFormat