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