Flutter Scheduled Notification | Local Scheduled Notification | basic implementation

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everyone today we will continue implementing schedule notification i have already created a video of basic setup and local push notification please find the link in description box let's start coding for schedule notification as we already implemented that send notification here in my pre uh other video so link is in description box now i'll add that schedule notification part so for that first of all copy this and i'm renaming this show schedule notification here we have id title body payload already we implemented these things now we'll add some another parameters so first change this zone schedule now we have to add some additional parameter here so for that i'm adding required date and time this is for whatever time you want to show the notification so here it is okay now we have payload already so we can add this and this is we have to make true and ui local interpretation dot absolute here we have to add one another parameter that is t z date and time for that we need to add a library in pubsic yml so here we'll add that time zone library and we'll do pubget now import that one this time zone dot dot s t z now here we'll add this this time we can add here and here teaser dot local this part is done for schedule now we'll initialize that tz time zone library in our where we have to call now we'll initialize here that data latest. there we initialized time zone dot dot here latest dot now t dot initialize time zones uh this is done implementation now we can call that method in our on press their schedule notification we have implemented now we can call the method as we are calling this notification show notification title on this and also time we have to define here title body and schedule time whatever time it is right now i'm making it uh five seconds so that it will be visible easily also increase the channel id whenever you create make it 8 now run the code now we'll click and wait for five seconds here we have notification this is custom sound we are playing in background we can make it like whatever you want or by default as well for default you can comment this and increase the channel id and just run it and you can check here that's it guys if you found video useful please subscribe my channel thank you for watching the video
Info
Channel: EaseTechnoGyan
Views: 3,549
Rating: undefined out of 5
Keywords:
Id: EHeAHc4VA64
Channel Id: undefined
Length: 5min 19sec (319 seconds)
Published: Sat Jun 11 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.