notificare 3.0.0-alpha.1 notificare: ^3.0.0-alpha.1 copied to clipboard
Official Notificare Flutter plugin. Implements the power of the Notificare platform in Flutter applications.
import 'package:flutter/material.dart';
import 'package:notificare/notificare.dart';
import 'package:notificare_example/home.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
Notificare.setUseAdvancedLogging(true);
Notificare.launch();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Home(),
),
);
}
}