camfocus 0.2.2
camfocus: ^0.2.2 copied to clipboard
A Flutter plugin to control the camera's focus distance, autofocus, and zoom levels (0.5x, 1x, etc.) on Android devices.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add camfocusWith Flutter:
$ flutter pub add camfocusThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
camfocus: ^0.2.2Alternatively, 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:camfocus/camfocus.dart';