share_plus_aurora
The Aurora implementation of share_plus.
Usage
This package is not an endorsed implementation of share_plus
.
Therefore, you have to include share_plus_aurora
alongside share_plus
as dependencies in your pubspec.yaml
file.
*.desktop
Permissions=Sharing
*.spec
BuildRequires: pkgconfig(Qt5DBus)
pubspec.yaml
dependencies:
share_plus: ^7.0.0
share_plus_aurora:
git:
url: https://gitlab.com/omprussia/flutter/flutter-plugins.git
ref: share_plus-0.0.1
path: packages/share_plus/share_plus_aurora
*.dart
import 'package:share_plus/share_plus.dart';
await Share.shareXFiles([XFile(file.path)]);
//Deprecated. Use shareXFiles instead.
await Share.shareFilesWithResult([file.path]);
//Deprecated. Use shareXFiles instead.
await Share.shareFiles([file.path]);