我做了一个应用程序,并创建了一个简单的逻辑。但是当我运行它的时候它会让我 The method '>' was called on null.Receiver: null
Tried calling: >(25) 我的意思是,这是一个基本的数学比较,我不知道为什么它会抛给我,这是我的档案 import 'dart:math
所以我试图获得像this as in the library这样的按钮,所以我尝试在这个库中创建按钮,但我得到了一个错误,我试图寻找原因,发现当我没有在双精度值中定义一些值时,就会发生这种情况,所以我这样做了,但是我也得到了同样的错误。= null), assert(bottom != null),
assert(offsetX != null
由于以下错误,我的应用程序停留在HandleMainScreen。它第一次导航正常,但在控制台中出现错误,但当我热重新启动它时,导航不起作用,应用程序停留在HandleMainScreen。ui_dart_state.cc(157)] Unhandled Exception: NoSuchMethodError: The method 'findAncestorStateOfType' was called on nullE/flutter ( 8785): Receiver
通过该应用程序,我从数据库中进行查询,以获取一些以前存储的数据。我尝试将id存储在myPreferences中,但得到的错误如下: E/flutter (29170): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] UnhandledException: NoSuchMethodError: The method 'setString' was called on null</