[英]local notification not showing up flutter
我正在嘗試使用本地通知 package,嘗試在互聯網連接丟失時發送通知,互聯網連接檢查很好,但我在通知部分遇到問題。 the error message is "Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference" my main.dart is https://sourceb.in/4NUViEivKn (the problem is in 60th line on setState 我認為)我的 notification_api.dart https://sourceb.in/oDwdd3CTSg
你沒有初始化插件來使用它,你可以關注他們的文檔, 這里有很好的解釋
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.