在遇到可怕的问题后,我通过将我的项目传递给另一个项目来完成。但是现在它在尝试运行我的程序后给了我这个错误。这是我以前从未见过的。而且,我没有编辑这些代码,因为它们是库。
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_neumorphic-3.0.3/lib/src/widget/app_bar.dart:147:57: Error: No named parameter with the name 'nullOk'.
final ScaffoldState scaffold = Scaffold.of(context, nullOk: true);
^^^^^^
../../Developer/flutter/packages/flutter/lib/src/material/scaffold.dart:1918:24: Context: Found this candidate, but the arguments don't match.
static ScaffoldState of(BuildContext context) {
^^
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/neumorphic-0.4.0/lib/src/components/app_bar.dart:32:57: Error: No named parameter with the name 'nullOk'.
final ScaffoldState scaffold = Scaffold.of(context, nullOk: true);
^^^^^^
../../Developer/flutter/packages/flutter/lib/src/material/scaffold.dart:1918:24: Context: Found this candidate, but the arguments don't match.
static ScaffoldState of(BuildContext context) {
^^
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/neumorphic-0.4.0/lib/src/components/text_field.dart:953:32: Error: No named parameter with the name 'nullOk'.
MediaQuery.of(context, nullOk: true)?.navigationMode ?? …Run Code Online (Sandbox Code Playgroud) 自从我将项目迁移到 Apple Silicon mac 后,我遇到了许多问题。我终于设法减少了问题,但不确定答案。
\nRunning "flutter pub get" in Flutter_the app copy 3... 760ms\nLaunching lib/main.dart on iPhone 11 in debug mode...\nRunning pod install... 986ms\nRunning Xcode build... \nXcode build done. 1.5s\nFailed to build iOS app\nError output from Xcode build:\n\xe2\x86\xb3\n objc[95181]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x20ba238f0) and ??\n (0x1160dc2b8). One of the two will be used. Which one is undefined.\n objc[95181]: Class AMSupportURLSession is implemented in both ?? (0x20ba23940) and ?? (0x1160dc308). One\n of the two will …Run Code Online (Sandbox Code Playgroud) 我正在尝试将频率值转换为注释,例如输入 400 Hz 打印“A4”,但我不想在代码中编写完整的频率表。有什么办法可以做到这一点吗?
我正在使用 m1 MacBook pro 并尝试在 ESP8266 上运行 arduino 代码。每次它都会给我这个错误
Arduino: 1.8.13 (Mac OS X (BigSur)), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Executable segment sizes:
IROM : 246940 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 27260 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs...)
DATA : 1268 ) - initialized variables (global, static) in RAM/HEAP …Run Code Online (Sandbox Code Playgroud) 我知道关于这个问题有很多类似的问题,我都尝试了,但没有成功。\n尝试在物理设备上的 Xcode 上运行代码后开始出现问题。\n错误如下我在命令中所说的那样线路“颤振运行”。
\nRunning pod install... 1,234ms\nCocoaPods' output:\n\xe2\x86\xb3\n Preparing\n\n Analyzing dependencies\n\n Inspecting targets to integrate\n Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)\n\n Finding Podfile changes\n - Flutter\n - flutter_secure_storage\n - local_auth\n - shared_preferences\n - vibration\n\n Fetching external sources\n -> Fetching podspec for `Flutter` from `Flutter`\n -> Fetching podspec for `flutter_secure_storage` from `.symlinks/plugins/flutter_secure_storage/ios`\n -> Fetching podspec for `local_auth` from `.symlinks/plugins/local_auth/ios`\n -> Fetching podspec for `shared_preferences` from `.symlinks/plugins/shared_preferences/ios`\n -> Fetching podspec for `vibration` from `.symlinks/plugins/vibration/ios`\n\n Resolving dependencies of …Run Code Online (Sandbox Code Playgroud)