flutter_mi_push 0.1.6
flutter_mi_push: ^0.1.6

Flutter Android iOS

Flutter mi push plugin.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_mi_push/flutter_mi_push.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  String _platformVersion = 'Unknown';

  @override
  void initState() {
    super.initState();
    FlutterMiPush.init('', '');
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: Text('Running on: $_platformVersion\n'),
        ),
      ),
    );
  }
}