OmegaEnumField constructor
OmegaEnumField({
- Key? key,
- bool enabled = true,
- bool visible = true,
- required List<
OmegaEnumData> data, - String? label,
- double labelSize = 14,
- Color labelColor = Colors.black,
- String? validator()?,
- dynamic onSaved(
- dynamic value,
- dynamic key
- bool showRequiredLabel = false,
- String? selected,
- dynamic onSelect(
- dynamic value
- TextStyle? labelStyle,
Implementation
OmegaEnumField({
Key? key,
this.enabled = true,
this.visible = true,
required this.data,
this.label,
this.labelSize = 14,
this.labelColor = Colors.black,
this.validator,
this.onSaved,
this.showRequiredLabel = false,
this.selected,
this.onSelect,
this.labelStyle,
}) : super(key: key);