flutter_background_video_recorder 1.0.0+2 flutter_background_video_recorder: ^1.0.0+2 copied to clipboard
A flutter plugin for Android to record videos in the background. Works even when the screen is locked or turned off.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_background_video_recorder
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_background_video_recorder: ^1.0.0+2
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:flutter_background_video_recorder/flutter_bvr.dart';
import 'package:flutter_background_video_recorder/flutter_bvr_channel.dart';
import 'package:flutter_background_video_recorder/flutter_bvr_platform_interface.dart';