Start Flutter Notification with A Simple Example

preview_player
Показать описание
This video walks you through the steps needed to get started with push notification in Flutter. In this video, you will learn the basic and the structure of push notification. It also shows you how to handle the incoming push notification.

00:00 Introduction
04:57 Firebase Setup
08:50 Dependencies and UI
12:57 Handling Notifications

*******************************************************************
My course: Flutter for Absolute Beginners: What I wish I Knew
******************************************************************

Attribution 4.0 International (CC BY 4.0)

Royalty Free Music from Bensound
Рекомендации по теме
Комментарии
Автор

Sir, please dart keyboard Late, As, assert, await, Async, sync, export, factory, Interface, Yield, Typedef, Mixin, Rethrow, Part, Covariant, Deffered, EXTENSION, EXTERNAL

kamalCode
Автор

followed the steps but its end up in below error





Launching lib\main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...
Error: The parameter 'title' can't have a value of 'null' because of its type 'String', but the implicit default value is 'null'.
Try adding either an explicit non-'null' default value or the 'required' modifier.
PushNotification({this.title, this.body});

Error: The parameter 'body' can't have a value of 'null' because of its type 'String', but the implicit default value is 'null'.
Try adding either an explicit non-'null' default value or the 'required' modifier.
PushNotification({this.title, this.body});
^^^^


FAILURE: Build failed with an exception.

* Where:
Script line: 1035

* What went wrong:
Execution failed for task
> Process 'command finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.


BUILD FAILED in 25s
Exception: Gradle task assembleDebug failed with exit code 1






Please correct me

rizkancool
join shbcf.ru