After starting the app, I get the following errors, do i miss something?
i entered:
flutter create .
flutter run -d chrome
lib/pages/layout/layoutNoRoutes.dart:11:8: Error: Error when reading 'lib/utils/LocalStorageUtil.dart': No such file or directory
import 'package:flutter_admin/utils/LocalStorageUtil.dart';
^
lib/pages/menu/menuMenu.dart:5:8: Error: Error when reading 'lib/components/CryTreeTable.dart': No such file or directory
import 'package:flutter_admin/components/CryTreeTable.dart';
^
lib/pages/layout/layoutNoRoutes.dart:173:5: Error: The getter 'LocalStorageUtil' isn't defined for the class '_LayoutState'.
'_LayoutState' is from 'package:flutter_admin/pages/layout/layoutNoRoutes.dart' ('lib/pages/layout/layoutNoRoutes.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'LocalStorageUtil'.
LocalStorageUtil.set(Constant.KEY_TOKEN, null);
^^^^^^^^^^^^^^^^
lib/pages/menu/menuMenu.dart:29:10: Error: 'CryTreeTableColumnData' isn't a type.
List columnData = [
^^^^^^^^^^^^^^^^^^^^^^
lib/pages/menu/menuMenu.dart:30:7: Error: The method 'CryTreeTableColumnData' isn't defined for the class '_MenuMenuState'.
'_MenuMenuState' is from 'package:flutter_admin/pages/menu/menuMenu.dart' ('lib/pages/menu/menuMenu.dart').
Try correcting the name to the name of an existing method, or defining a method named 'CryTreeTableColumnData'.
CryTreeTableColumnData('名称', (Menu v) => v.name),
^^^^^^^^^^^^^^^^^^^^^^
lib/pages/menu/menuMenu.dart:31:7: Error: The method 'CryTreeTableColumnData' isn't defined for the class '_MenuMenuState'.
'_MenuMenuState' is from 'package:flutter_admin/pages/menu/menuMenu.dart' ('lib/pages/menu/menuMenu.dart').
Try correcting the name to the name of an existing method, or defining a method named 'CryTreeTableColumnData'.
CryTreeTableColumnData('英文名', (Menu v) => v.nameEn),
^^^^^^^^^^^^^^^^^^^^^^
lib/pages/menu/menuMenu.dart:32:7: Error: The method 'CryTreeTableColumnData' isn't defined for the class '_MenuMenuState'.
'_MenuMenuState' is from 'package:flutter_admin/pages/menu/menuMenu.dart' ('lib/pages/menu/menuMenu.dart').
Try correcting the name to the name of an existing method, or defining a method named 'CryTreeTableColumnData'.
CryTreeTableColumnData('URL', (Menu v) => v.url),
^^^^^^^^^^^^^^^^^^^^^^
lib/pages/menu/menuMenu.dart:33:7: Error: The method 'CryTreeTableColumnData' isn't defined for the class '_MenuMenuState'.
'_MenuMenuState' is from 'package:flutter_admin/pages/menu/menuMenu.dart' ('lib/pages/menu/menuMenu.dart').
Try correcting the name to the name of an existing method, or defining a method named 'CryTreeTableColumnData'.
CryTreeTableColumnData('顺序号', (Menu v) => v.orderBy?.toString(), width: 80),
^^^^^^^^^^^^^^^^^^^^^^
lib/pages/menu/menuMenu.dart:34:7: Error: The method 'CryTreeTableColumnData' isn't defined for the class '_MenuMenuState'.
'_MenuMenuState' is from 'package:flutter_admin/pages/menu/menuMenu.dart' ('lib/pages/menu/menuMenu.dart').
Try correcting the name to the name of an existing method, or defining a method named 'CryTreeTableColumnData'.
CryTreeTableColumnData('备注', (Menu v) => v.remark, width: 300),
^^^^^^^^^^^^^^^^^^^^^^
lib/pages/menu/menuMenu.dart:36:18: Error: The method 'CryTreeTable' isn't defined for the class '_MenuMenuState'.
'_MenuMenuState' is from 'package:flutter_admin/pages/menu/menuMenu.dart' ('lib/pages/menu/menuMenu.dart').
Try correcting the name to the name of an existing method, or defining a method named 'CryTreeTable'.
var result = CryTreeTable(
^^^^^^^^^^^^
[flutter_admin] flutter pub get
Resolving dependencies...
Because cry >=1.0.0 depends on intl ^0.17.0 and every version of flutter_localizations from sdk depends on intl 0.18.0, cry >=1.0.0 is incompatible with flutter_localizations from sdk.
So, because flutter_admin depends on both flutter_localizations from sdk and cry 1.2.0, version solving failed.
exit code 1
Flutter com.example.flutter_admin: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Launching lib/main.dart on Chrome in debug mode...
lib/common/routes.dart:83:19: Error: The argument type 'List<GetPage>?' can't be assigned to the parameter type
'List<GetPage>' because 'List<GetPage>?' is nullable and 'List<GetPage>' isn't.
'List' is from 'dart:core'.
'GetPage' is from 'package:get/get_navigation/src/routes/get_route.dart'
('../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/get-4.2.4/lib/get_navigation/src/routes/get_route.dart').
children: layoutPages,
^
Waiting for connection from debug service on Chrome... 19.8s
Failed to compile application.
`
Because cry >=1.0.0 depends on image_picker ^0.7.3 and flutter_quill >=5.0.2 depends on image_picker ^0.8.5+3, cry >=1.0.0 is incompatible with flutter_quill >=5.0.2.