uri_to_file 1.0.0 uri_to_file: ^1.0.0 copied to clipboard
A Flutter plugin for converting supported uri to file. Supports Android & iOS.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add uri_to_file
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
uri_to_file: ^1.0.0
Alternatively, 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:uri_to_file/uri_to_file.dart';