PrismFilePickerTile constructor
const
PrismFilePickerTile({
- Key? key,
- required List<
PrismPickedFile> files, - required Future<
List< onPick(),PrismPickedFile> ?> - required ValueChanged<
List< onFilesPicked,PrismPickedFile> > - ValueChanged<
PrismPickedFile> ? onRemove, - String label = 'Attachments',
- String emptyHint = 'Tap to attach files',
- PrismPickerConstraints constraints = const PrismPickerConstraints(),
- Widget? trailing,
Creates a file picker tile.
Implementation
const PrismFilePickerTile({
super.key,
required this.files,
required this.onPick,
required this.onFilesPicked,
this.onRemove,
this.label = 'Attachments',
this.emptyHint = 'Tap to attach files',
this.constraints = const PrismPickerConstraints(),
this.trailing,
});