[Flutter/dart]Open a URL that requires encoding
top of page
MR
Spell out information about application development, etc.
Search
Problem Previously, I wrote an article that it is necessary to encode to open a URL containing Japanese. However, re-encoding an already...
- Dec 31, 2022
[Fluter/dart]Just adding the factory keyword does not generate singleton
Overview In dart, you can add the factory keyword to the constructor. I made the following mistake. A factory constructor is for creating...
- Dec 30, 2022
[Flutter/dart]createState() and initState() are not called when a StatefulWidget is rebuilt from its
Oveview There is a generic StatefulWidget like below. class childWidget extends StatefulWidget{ State<StatefulWidget> createState() {...
- Dec 30, 2022
[Flutter/dart]LateInitializationError with late final variable
Phenomenon There is a class like below. class SomeClass{ late final String? hoge; SomeClass({this.hoge}){ hoge??= ""; //1 } } If hoge...
- Dec 29, 2022
[Flutter/dart] Default value of a class instance in null safety
Overview When creating an instance of a certain class, there are cases where it is optional to set arguments to the instance, and if not...
- Nov 30, 2022
[Flutter/dart] Private and final class variable
Overview Suppose adding a class variable in dart like below. Private (don't want to be accessed from outside) Determine the value by...
- Apr 4, 2022
[Flutter/dart] The method at notification tapping does not work when the app is terminated
Phenomenon Create a notification using flutter_local_notification. The method when tapping the notification is also registered. If the...
- Mar 29, 2022
[Flutter/dart] When Firebase Messaging notification is tapped with the app is in the background
Overview In many cases, you'll send a message with Firebase Messaging and take some action when the notification is tapped (eg to go to a...
- Mar 29, 2022
[Flutter/dart] null check operator used on a null value messaging
Overview A title error has occurred at FirebaseMessaging.onBackgroundMessage(). Cause and Solution The delegate passed to the argument of...
![[Flutter/dart] Send a test message of Firebase Messaging](https://static.wixstatic.com/media/90b712_5129cfaa5f9d45b58c1ef3dbf472032b~mv2.png/v1/fill/w_454,h_317,fp_0.50_0.50,q_95,enc_auto/90b712_5129cfaa5f9d45b58c1ef3dbf472032b~mv2.webp)
- Mar 23, 2022
[Flutter/dart] Send a test message of Firebase Messaging
Overview When you use Firebase Messaging, you'll want to send a test to your device. It took a little time, so I will summarize how to do...
bottom of page