AutoFileField.file constructor
AutoFileField.file({
- Key? key,
- required String id,
- required String label,
- bool enabled = true,
- List<
FieldValidation> validations = const [], - List<
FieldTrigger> triggers = const [], - String initValue = "",
- FilePickSettings settings = const FilePickSettings(),
- bool showFileName = false,
Implementation
AutoFileField.file({
super.key,
required super.id,
required super.label,
super.enabled = true,
super.hidden = false,
super.validations = const [],
super.triggers = const [],
super.initValue,
this.settings = const FilePickSettings(),
this.showFileName = false,
}) : fileSource = const [FileSource.files];