From 2810d5a9a6cefd1ef1efdcce1674665c8256c961 Mon Sep 17 00:00:00 2001 From: broodjeaap89 Date: Sun, 15 Aug 2021 21:40:07 +0200 Subject: [PATCH] removed notify button from pizza event page --- lib/pages/PizzaEventPage.dart | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/lib/pages/PizzaEventPage.dart b/lib/pages/PizzaEventPage.dart index e044a5b..dd2cf4b 100644 --- a/lib/pages/PizzaEventPage.dart +++ b/lib/pages/PizzaEventPage.dart @@ -157,28 +157,6 @@ class SubStepDialogState extends State { ) ) ), - SizedBox( - width: double.infinity, - height: 70, - child: Container( - color: Colors.grey, - child: TextButton( - child: Text("Notify!", style: TextStyle(color: Colors.white)), - onPressed: () async { - const androidPlatformChannelSpecifics = AndroidNotificationDetails( - "PizzaEvent", "PizzaEvent", "PizzaEvent notifications", - importance: Importance.max, - priority: Priority.high, - ticker: "ticker" - ); - const platformChannelSpecific = NotificationDetails(android: androidPlatformChannelSpecifics); - await flutterLocalNotificationsPlugin.show( - 0, 'test', 'teeest', platformChannelSpecific, - payload: "payload123"); - }, - ) - ) - ) ] ) )