NumberElement constructor
NumberElement({
- String? id,
- String? initValue,
- String? label = "",
- String? hint = "",
- DecorationElement? decorationElement,
- bool isDigits = false,
- String? errorMsg,
- EdgeInsets padding = const EdgeInsets.all(2.0),
- Validation? validator,
- bool isRequired = false,
- bool readOnly = false,
- bool visibility = true,
Implementation
NumberElement({
String? id,
this.initValue,
this.label = "",
this.hint = "",
this.decorationElement,
this.isDigits = false,
this.errorMsg,
this.padding = const EdgeInsets.all(2.0),
this.validator,
this.isRequired = false,
this.readOnly = false,
bool visibility = true,
}) : super(
id: id,
decorationElement: decorationElement,
initValue: initValue,
label: label,
hint: hint,
readOnly: readOnly,
isRequired: isRequired,
typeInput: TypeInput.Numeric,
visibility: visibility,
);