ArcaneSelect constructor
const
ArcaneSelect({
- required List<
ArcaneSelectOption> options, - String? value,
- String? placeholder,
- ComponentSize size = ComponentSize.md,
- bool disabled = false,
- bool required = false,
- String? name,
- String? id,
- String? label,
- String? error,
- void onChange()?,
- void onInput()?,
- void onSelect()?,
- bool fullWidth = false,
- Key? key,
Implementation
const ArcaneSelect({
required this.options,
this.value,
this.placeholder,
this.size = ComponentSize.md,
this.disabled = false,
this.required = false,
this.name,
this.id,
this.label,
this.error,
void Function(String)? onChange,
void Function(String)? onInput,
void Function(String)? onSelect,
this.fullWidth = false,
super.key,
}) : _onChange = onChange ?? onInput ?? onSelect;