TFilePicker constructor
const
TFilePicker({
- Key? key,
- String? label,
- String? tag,
- String? helperText,
- bool isRequired = false,
- bool disabled = false,
- TFilePickerTheme? theme,
- VoidCallback? onTap,
- FocusNode? focusNode,
- List<
TFile> ? value, - ValueNotifier<
List< ? valueNotifier,TFile> ?> - ValueChanged<
List< ? onValueChanged,TFile> ?> - List<
String? Function(List< ? rules,TFile> ?)> - Duration? validationDebounce,
- String? placeholder,
- bool autoFocus = false,
- bool allowMultiple = false,
- List<
String> ? allowedExtensions, - TFileType fileType = TFileType.any,
Implementation
const TFilePicker({
super.key,
this.label,
this.tag,
this.helperText,
this.isRequired = false,
this.disabled = false,
this.theme,
this.onTap,
this.focusNode,
this.value,
this.valueNotifier,
this.onValueChanged,
this.rules,
this.validationDebounce,
this.placeholder,
this.autoFocus = false,
this.allowMultiple = false,
this.allowedExtensions,
this.fileType = TFileType.any,
});