RhFilePicker.multiple constructor

const RhFilePicker.multiple({
  1. Key? key,
  2. Widget? removeIcon,
  3. FileType? fileType = FileType.any,
  4. dynamic onPick(
    1. List<File?>
    )?,
  5. List<String>? allowedExtensions,
  6. List<Widget> children = const [],
  7. EdgeInsets? margin,
  8. Color? backgroundColor,
  9. Widget? addMore,
  10. Widget? showSelected,
  11. Widget? headerText,
  12. Widget? selectedFiles,
  13. PickedItemDecoration? pickedItemDecoration,
  14. PickedItemDecoration? singleItemDecoration,
})

Implementation

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