问题描述
我最近升级了颤振。升级后,当我要使用获取时,它将显示错误信息。 无需添加获得我的项目即可正常运行。
import 'package:Flutter/material.dart';
import 'package:Flutterfire_auth/src/homepage.dart';
import 'package:get/get.dart';
void main() {
return runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return GetMaterialApp(
title: 'Flutter App',debugShowCheckedModeBanner: false,home: Homepage(),);
}
}
/C:/src/Flutter/.pub-cache/hosted/pub.dartlang.org/get-3.15.0/lib/get_navigation/src/extension_navigation.dart:235:37: Error: No named parameter with the name 'shadowThemeOnly'.
final theme = Theme.of(context,shadowThemeOnly: true);
^^^^^^^^^^^^^^^
/C:/src/Flutter/packages/Flutter/lib/src/material/theme.dart:119:20: Context: Found this candidate,but the arguments don't match.
static ThemeData of(BuildContext context) {
^^
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)