android_auto 0.1.3
android_auto: ^0.1.3 copied to clipboard
Embed an Android Auto head unit inside a Flutter app. Renders the projected screen into a Flutter Texture so the app can draw its own UI on top.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add android_autoWith Flutter:
$ flutter pub add android_autoThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
android_auto: ^0.1.3Alternatively, 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:android_auto/android_auto.dart';