moengage_inbox_2 4.0.2 moengage_inbox_2: ^4.0.2 copied to clipboard
Flutter Plugin for using Notification Center feature of MoEngage Platform, to provide an Inbox to view all the notifications received by your application.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add moengage_inbox_2
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
moengage_inbox_2: ^4.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:moengage_inbox_2/action.dart';
import 'package:moengage_inbox_2/action_type.dart';
import 'package:moengage_inbox_2/constants.dart';
import 'package:moengage_inbox_2/inbox_data.dart';
import 'package:moengage_inbox_2/inbox_message.dart';
import 'package:moengage_inbox_2/media.dart';
import 'package:moengage_inbox_2/media_type.dart';
import 'package:moengage_inbox_2/moe_android_inbox.dart';
import 'package:moengage_inbox_2/moe_ios_inbox.dart';
import 'package:moengage_inbox_2/moengage_inbox.dart';
import 'package:moengage_inbox_2/navigation_action.dart';
import 'package:moengage_inbox_2/navigation_type.dart';
import 'package:moengage_inbox_2/payload_transformer.dart';
import 'package:moengage_inbox_2/text_content.dart';