schedule notification how to set time
import 'package:flutter/material.dart'; import 'package:flutter_local_notifications/flutter_local_notifications.dart'; void main() => runApp(MyApp()); class MyApp extends StatefulWidget { @override _MyAppState createState() => _MyAppState(); } class _MyAppState extends State<MyApp> { FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin; @override void initState() { super.initState(); flutterLocalNotificationsPlugin = FlutterLocalNotificationsPlugin(); var android = AndroidInitializationSettings('@mipmap/ic_launcher'); var ios = IOSInitializationSettings(); var initSetttings = InitializationSettings(android, ios); flutterLocalNotificationsPlugin.initialize(initSetttings, onSelectNotification: onSelectNotification); } Future onSelectNotification(String payload) { debugPrint("payload : $payload