Feature Request: Drag & drop file to upload
This commit is contained in:
parent
04306aa299
commit
9b8d6ea8d4
|
|
@ -68,7 +68,7 @@ class _DocumentGridState extends State<DocumentGrid> {
|
||||||
return ScrollableListView(
|
return ScrollableListView(
|
||||||
children: [
|
children: [
|
||||||
if (state.isEnterprisePlan) ...[
|
if (state.isEnterprisePlan) ...[
|
||||||
if (isDesktopOS())
|
if (kIsWeb || isDesktopOS())
|
||||||
DropTarget(
|
DropTarget(
|
||||||
onDragDone: (detail) {
|
onDragDone: (detail) {
|
||||||
print('## DROPPED: ${detail.files}');
|
print('## DROPPED: ${detail.files}');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue