Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 升级到Flatter 1.2后无法生成_Flutter_Dart - Fatal编程技术网

Flutter 升级到Flatter 1.2后无法生成

Flutter 升级到Flatter 1.2后无法生成,flutter,dart,Flutter,Dart,有一个修复程序正在解决这个影响许多插件的问题。同时,您可以像下面这样包括对flatter\u datetime\u picker的引用 flatter\u datetime\u选择器: 吉特: 网址:https://github.com/ditheshthegreat/flutter_datetime_picker #回购 参考:补丁-1#分支机构名称 是github相关票证创建了一个新项目,使用flift create,将依赖项添加到pubspec.yml,并从以前的项目中粘贴我的lib文件

有一个修复程序正在解决这个影响许多插件的问题。同时,您可以像下面这样包括对
flatter\u datetime\u picker的引用

flatter\u datetime\u选择器:
吉特:
网址:https://github.com/ditheshthegreat/flutter_datetime_picker #回购
参考:补丁-1#分支机构名称

是github相关票证

创建了一个新项目,使用flift create,将依赖项添加到pubspec.yml,并从以前的项目中粘贴我的lib文件夹。仍然不走运。嘿,昨天,flutt_datetime_picker更新为v1.4.0,并对此进行了修复昨天,flutt_datetime_picker包github的主分支中有一个与flutter向后兼容的for this,我建议将url指向该分支
../../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_datetime_picker-1.3.8/lib/src/datetime_picker_theme.dart:6:28: Error: Type 'DiagnosticableMixin' not found.
class DatePickerTheme with DiagnosticableMixin {                        
                           ^^^^^^^^^^^^^^^^^^^                          
../../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_datetime_picker-1.3.8/lib/src/datetime_picker_theme.dart:6:7: Error: The type 'DiagnosticableMixin' can't be mixed in.
class DatePickerTheme with DiagnosticableMixin {                        
      ^                                                                 
                                                                        
                                                                        
FAILURE: Build failed with an exception.                                
                                                                        
* Where:                                                                
Script '/home/tfradebe/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 896
                                                                        
* What went wrong:                                                      
Execution failed for task ':app:compileFlutterBuildDebug'.              
> Process 'command '/home/tfradebe/flutter/bin/flutter'' finished with non-zero exit value 1
                                                                        
* Try:                                                                  
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
                                                                        
* Get more help at https://help.gradle.org                              
                                                                        
BUILD FAILED in 28s                                                     
Running Gradle task 'assembleDebug'...                                  
Running Gradle task 'assembleDebug'... Done                        29.1s
Exception: Gradle task assembleDebug failed with exit code 1