Compiler message:
lib/app/root_scene.dart:85:56: Error: No named parameter with the name 'label'.
BottomNavigationBarItem(icon: getTabIcon(0), label: '书架'),
^^^^^
/usr/local/flutter/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart:25:9: Context: Found this candidate, but the arguments don't match.
const BottomNavigationBarItem({
^^^^^^^^^^^^^^^^^^^^^^^
lib/app/root_scene.dart:86:56: Error: No named parameter with the name 'label'.
BottomNavigationBarItem(icon: getTabIcon(1), label: '书城'),
^^^^^
/usr/local/flutter/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart:25:9: Context: Found this candidate, but the arguments don't match.
const BottomNavigationBarItem({
^^^^^^^^^^^^^^^^^^^^^^^
lib/app/root_scene.dart:87:56: Error: No named parameter with the name 'label'.
BottomNavigationBarItem(icon: getTabIcon(2), label: '我的'),
^^^^^
/usr/local/flutter/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart:25:9: Context: Found this candidate, but the arguments don't match.
const BottomNavigationBarItem({
^^^^^^^^^^^^^^^^^^^^^^^
lib/home/home_scene.dart:20:11: Error: No named parameter with the name 'systemOverlayStyle'.
systemOverlayStyle: SystemUiOverlayStyle.dark,
^^^^^^^^^^^^^^^^^^
/usr/local/flutter/packages/flutter/lib/src/material/app_bar.dart:179:3: Context: Found this candidate, but the arguments don't match.
AppBar({
^^^^^^
lib/me/login_scene.dart:142:24: Error: The method 'TextButton' isn't defined for the class 'LoginSceneState'.
- 'LoginSceneState' is from 'package:shuqi/me/login_scene.dart' ('lib/me/login_scene.dart').
Try correcting the name to the name of an existing method, or defining a method named 'TextButton'.
child: TextButton(
^^^^^^^^^^
lib/reader/reader_scene.dart:56:18: Error: Method not found: 'SystemChrome.setEnabledSystemUIMode'.
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
^^^^^^^^^^^^^^^^^^^^^^
lib/reader/reader_scene.dart:67:24: Error: Method not found: 'SystemChrome.setEnabledSystemUIMode'.
await SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersive);
^^^^^^^^^^^^^^^^^^^^^^
lib/reader/reader_scene.dart:167:20: Error: Method not found: 'SystemChrome.setEnabledSystemUIMode'.
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
^^^^^^^^^^^^^^^^^^^^^^
lib/reader/reader_scene.dart:262:18: Error: Method not found: 'SystemChrome.setEnabledSystemUIMode'.
SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersive);
^^^^^^^^^^^^^^^^^^^^^^
FAILURE: Build failed with an exception.
You can try to use the sdk after flutter2.0.0, as the dart version of flutter1.17.5 is low and may have problems starting. See the pubspec.yaml file in the project for details.
Flutter version 1.17.5