image_input 0.0.2-beta image_input: ^0.0.2-beta copied to clipboard
A pacakage to be used for image input in flutter. It can be used to take image from camera or gallery or from a url.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add image_input
With Flutter:
$ flutter pub add image_input
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
image_input: ^0.0.2-beta
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:image_input/image_input.dart';