NumberField constructor
NumberField({
- required String name,
- String? id,
- NumberType numberType = NumberType.float,
- SignType signType = SignType.signed,
- bool showInList = false,
- bool isRequired = false,
- int sort = 0,
- FormFieldValidator<
Object> ? validator, - FieldType type = FieldType.numberField,
Implementation
NumberField({
required super.name,
String? id,
this.numberType = NumberType.float,
this.signType = SignType.signed,
super.showInList,
super.isRequired,
super.sort,
super.validator,
super.type = FieldType.numberField,
}) : super(id: id ?? toSnakeCase(name));