NiceFormFieldDef constructor
const
NiceFormFieldDef({ - required String key,
- required NiceFormFieldType type,
- String? label,
- String? hint,
- bool required = false,
- bool readOnly = false,
- dynamic defaultValue,
- List<String>? options,
- int flex = 1,
- List<String Function(dynamic value)>? validators,
})
Implementation
const NiceFormFieldDef({
required this.key,
required this.type,
this.label,
this.hint,
this.required = false,
this.readOnly = false,
this.defaultValue,
this.options,
this.flex = 1,
this.validators,
});