flutter_carplaybr 1.1.4 flutter_carplaybr: ^1.1.4 copied to clipboard
Flutter Apps are now on Apple CarPlay. This package aims to make it safe to use iPhone apps made with Flutter in the car by integrating with CarPlay.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_carplaybr
With Flutter:
$ flutter pub add flutter_carplaybr
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
flutter_carplaybr: ^1.1.4
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:flutter_carplaybr/carplay_worker.dart';
import 'package:flutter_carplaybr/constants/constants.dart';
import 'package:flutter_carplaybr/constants/private_constants.dart';
import 'package:flutter_carplaybr/controllers/carplay_controller.dart';
import 'package:flutter_carplaybr/flutter_carplay.dart';
import 'package:flutter_carplaybr/helpers/carplay_helper.dart';
import 'package:flutter_carplaybr/helpers/enum_utils.dart';
import 'package:flutter_carplaybr/models/action_sheet/action_sheet_template.dart';
import 'package:flutter_carplaybr/models/alert/alert_action.dart';
import 'package:flutter_carplaybr/models/alert/alert_constants.dart';
import 'package:flutter_carplaybr/models/alert/alert_template.dart';
import 'package:flutter_carplaybr/models/button/alert_constants.dart';
import 'package:flutter_carplaybr/models/button/bar_button.dart';
import 'package:flutter_carplaybr/models/button/text_button.dart';
import 'package:flutter_carplaybr/models/grid/grid_button.dart';
import 'package:flutter_carplaybr/models/grid/grid_template.dart';
import 'package:flutter_carplaybr/models/information/information_constants.dart';
import 'package:flutter_carplaybr/models/information/information_item.dart';
import 'package:flutter_carplaybr/models/information/information_template.dart';
import 'package:flutter_carplaybr/models/list/list_constants.dart';
import 'package:flutter_carplaybr/models/list/list_item.dart';
import 'package:flutter_carplaybr/models/list/list_section.dart';
import 'package:flutter_carplaybr/models/list/list_template.dart';
import 'package:flutter_carplaybr/models/poi/poi.dart';
import 'package:flutter_carplaybr/models/poi/poi_template.dart';
import 'package:flutter_carplaybr/models/tabbar/tabbar_template.dart';