widget_capture_share 0.0.7
widget_capture_share: ^0.0.7 copied to clipboard
A new flutter package is alternative of screenshot that can help to convert widget to png. Converted image can easily save to gallery and also share to social account.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add widget_capture_shareThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
widget_capture_share: ^0.0.7Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:widget_capture_share/widget_capture_share.dart';