batch_flutter 2.0.0 batch_flutter: ^2.0.0 copied to clipboard
Batch SDK Flutter Plugin allows you to build meaningful communication experiences in your app through highly personalized push notifications and In-App messages.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add batch_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
batch_flutter: ^2.0.0
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:batch_flutter/batch.dart';
import 'package:batch_flutter/batch_inbox.dart';
import 'package:batch_flutter/batch_messaging.dart';
import 'package:batch_flutter/batch_profile.dart';
import 'package:batch_flutter/batch_push.dart';
import 'package:batch_flutter/batch_user.dart';