我在flutter中创建数据库时,无意中将~/.dartServer/.analysis-driver/添加到了我的程序中。编译器现在显示"Future not a type“,下面有一条红线。下面是ref的代码: import 'package:sqflite/sqflite.dart';
import 'package:path_provider/path_provider.d
我是一个初学者与flutter,我正在尝试做一些非常简单的事情与flutter,即建立一个登录页面,无论是firebase登录或谷歌登录。我在这两个方面都遇到了错误,我不能找出其中的原因。[VERBOSE-2:dart_error.cc(16)] Unhandled exception:
type '_Future' is not a subtype of type 'Future<Nullauth
我是第一次接触Flutter,我尝试在"10.0.2.2:8000/ api /membres“上从我的api中获取数据,但是得到了类似于type List dynamic不是type 'List的子类型的错误我正在遵循flutter:的例子。
请帮助我遵循一个有用的教程,并告诉我如何修复此代码。MyHomePage.dar
使用sign-inChanged 登录API一个月,现在在Google 云修复规则之前得到了这个错误,仍然显示相同的结果API错误?/ui_dart_state.cc(166)] Unhandled Exception: type 'PlatformException' is not a subtype of type 'StringE/flutter ( 8552): #4 Future._
我有个错误:
-/C:/src/flutter/flutter/packages/flutter/lib/src/services/asset_bundle.dart:240:12: Error: Avalue of type 'ByteData?'can't be returned from an async function with return type</em
当我尝试在flutter中使用get_it时,我遇到了问题。我不能注射我的UseCase。我花了4个小时来修复这个错误。E/flutter (10227): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: null': Object/factory with type GetIn
这是我的函数: final fileName<anonymous closure> (package:dio/src/dio.dart:846:22)
flutter: #10 new Future._handleMessage (dart:isolate-patch/isolate_patch.da