flutter plugin to record audio (foreground service)
flutter create --org com.bubbakk --template=plugin --platforms=android -a java rec_service
All done!
Your plugin code is in rec_service/lib/rec_service.dart.
You example app code is in rec_service/example/lib/main.dart.
Host platform code is in the android directories under rec_service. To edit platform code in an IDE see https://flutter.dev/developing-packages/#edit-plugin-package.
To add platforms, run flutter create -t plugin --platforms <platforms> .
under rec_service.
For more information, see https://flutter.dev/go/plugin-platforms.
https://gist.github.com/Venryx/e1f772b4c05b2da08e118ccd5cc162ff
https://gist.github.com/kmark/d8b1b01fb0d2febf5770
This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.