../../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 ??
^^^^^^
../../Developer/flutter/packages/flutter/lib/src/widgets/media_query.dart:818:25: Context: Found this candidate, but the arguments don't match.
static MediaQueryData of(BuildContext context) {
^^
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/neumorphic-0.4.0/lib/src/neumorphic/theme.dart:390:52: Error: No named parameter with the name 'nullOk'.
_cupertinoOverrideTheme.resolveFrom(context, nullOk: nullOk),
^^^^^^
../../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 ??
^^^^^^
../../Developer/flutter/packages/flutter/lib/src/widgets/media_query.dart:818:25: Context: Found this candidate, but the arguments don't match.
static MediaQueryData of(BuildContext context) {
^^
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/neumorphic-0.4.0/lib/src/neumorphic/theme.dart:390:52: Error: No named parameter with the name 'nullOk'.
_cupertinoOverrideTheme.resolveFrom(context, nullOk: nullOk),
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Could not build the precompiled application for the device.
^^^^^^
name: Test
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
rflutter_alert: ^1.0.3
flutter:
sdk: flutter
mqtt_client: ^8.0.0
provider: ^4.3.2+2
get_it: ^5.0.1
vibration: ^1.7.2
clay_containers: ^0.2.2
local_auth: ^0.6.2+1
flutter_secure_storage: ^3.3.3
neumorphic: ^0.4.0
shared_preferences: ^0.5.8
flutter_neumorphic: ^3.0.3
cupertino_icons: ^0.1.3
dev_dependencies:
flutter_test:
sdk: flutter
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
uses-material-design: true
assets:
- images/homestadelogo.png
- images/morning.png
fonts:
- family: OpenSans
fonts:
- asset: fonts/assets/fonts/OpenSans.ttf
- family: myLamp
fonts:
- asset: fonts/assets/fonts/mylamp.ttf
一些nullok
参数已被移除,作为空安全性后迁移的一部分。您可以阅读更多关于相应的设计文档及其即将发布的迁移指南的内容。
您可以尝试使用.maybeof(context)
而不是.of(context,nullok:true);
您可能必须更新您的依赖项才能使其工作。
当我试图在模拟器上运行应用程序时,或者在flutter项目上创建apk文件时,我面临着这个问题。我尝试删除项目、pub-get、pub-cache-clean、删除flutter文件夹并重新安装。没有什么帮助,它总是给出下面的错误。 我的颤动医生结果
我正在jpa中设置本机查询,但它没有按预期运行并给我异常这是我的查询:
问题内容: 是否有一个名为JDBC中,而不是那些位置参数,比如在下面的查询? 问题答案: JDBC不支持命名参数。除非你必须使用普通的JDBC(这会造成麻烦,让我告诉你),否则我建议使用Springs Excellent JDBCTemplate,它可以在没有整个IoC容器的情况下使用。 NamedParameterJDBCTemplate支持命名参数,你可以像这样使用它们:
下面是我的相关目录结构(Windows 7,Python 2.7,virtualenv) 当我尝试运行这个 django 应用程序时出现以下错误错误:没有名为帐户的模块 我已经阅读了有关SO的其他帖子,这些帖子提到了系统路径是问题所在,或者appname与项目名称匹配 Django Shell 没有模块命名设置 ...因此,我在base_settings.py文件中添加了以下语句 我通过在PyCh
问题内容: 我正在尝试进行设置,以便将表名作为参数传递给命令文本,但是我无法使其正常工作。我四处张望,发现了这样的问题:使用C#进行MySQL的参数化查询,但是我没有任何运气。 这是相关的代码(connection == 包含连接字符串): 如果我更改: 至: 作为一种测试方法,它是可行的(我正在将XML从数据集中写入控制台以进行检查)。因此,我很确定问题只是以错误的方式使用了参数功能。有指针吗?
当我尝试从python终端导入我得到这个错误,虽然我按照所有的步骤来安装xgboop,不知何故python是无法获得包的详细信息。我是相对较新的python,我可以很容易地安装Numpy和熊猫包,我使用这个链接在MACOSX上安装http://xgboost.readthedocs.io/en/latest/build.html 当我做pip安装xgboop,我得到这个错误, 我在打印系统路径上得