RhFilePicker.multiple constructor
const
RhFilePicker.multiple({
- Key? key,
- Widget? removeIcon,
- FileType? fileType = FileType.any,
- dynamic onPick()?,
- List<
String> ? allowedExtensions, - List<
Widget> children = const [], - EdgeInsets? margin,
- Color? backgroundColor,
- Widget? addMore,
- Widget? showSelected,
- Widget? headerText,
- Widget? selectedFiles,
- PickedItemDecoration? pickedItemDecoration,
- 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;