TFilePicker constructor

const TFilePicker({
  1. Key? key,
  2. String? label,
  3. String? tag,
  4. String? helperText,
  5. bool isRequired = false,
  6. bool disabled = false,
  7. TFilePickerTheme? theme,
  8. VoidCallback? onTap,
  9. FocusNode? focusNode,
  10. List<TFile>? value,
  11. ValueNotifier<List<TFile>?>? valueNotifier,
  12. ValueChanged<List<TFile>?>? onValueChanged,
  13. List<String? Function(List<TFile>?)>? rules,
  14. Duration? validationDebounce,
  15. String? placeholder,
  16. bool autoFocus = false,
  17. bool allowMultiple = false,
  18. List<String>? allowedExtensions,
  19. 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,
});