RhFilePicker.single constructor
const
RhFilePicker.single({})
Implementation
const RhFilePicker.single({
super.key,
this.removeIcon,
this.uploadIcon,
this.onPick,
this.fileType = FileType.any,
this.allowedExtensions,
this.backgroundColor,
this.pickedItemDecoration,
this.title,
this.subtitle,
required this.source,
}) : type = PickerType.single,
children = const [],
selectedFiles = null,
singleItemDecoration = null,
margin = null,
headerText = null,
addMore = null,
showSelected = null;