Я новичок в пакете flutter_blo c. Как показать оповещение с помощью пакета flutter_blo c. Вот пример того, что я сделал без использования blo c.
IconButton(
icon: Icon(Icons.notifications),
onPressed: () {
String time=7:30
List<String> arr = time.split(':');
int aa = int.parse(arr[0]);
int bb = int.parse(arr[1]);
var time = new Time(aa, bb, 0);
var android = new AndroidNotificationDetails(
'Channel Id', 'Channel Name', 'Channel Des',);
var iOS = new IOSNotificationDetails();
var platform = new NotificationDetails(android, iOS);
flutterLocalNotificationsPlugin.showDailyAtTime(0, 'show daily title',
'Daily notification shown at approximately', time, platform);
},
)