feat: refactor app bar (#4539)

* feat: refactor appbar

* fix: flutter analyze
This commit is contained in:
Lucas.Xu
2024-01-29 23:13:06 +08:00
committed by GitHub
parent f1e380c276
commit 5b3b0e54d9
31 changed files with 226 additions and 319 deletions

View File

@ -50,7 +50,6 @@ GoRouter generateRouter(Widget child) {
if (PlatformExtension.isMobile) ...[
// settings
_mobileHomeSettingPageRoute(),
_mobileSettingUserAgreementPageRoute(),
_mobileCloudSettingAppFlowyCloudPageRoute(),
_mobileLaunchSettingsPageRoute(),
@ -209,16 +208,6 @@ GoRoute _mobileCloudSettingAppFlowyCloudPageRoute() {
);
}
GoRoute _mobileSettingUserAgreementPageRoute() {
return GoRoute(
parentNavigatorKey: AppGlobals.rootNavKey,
path: UserAgreementPage.routeName,
pageBuilder: (context, state) {
return const MaterialPage(child: UserAgreementPage());
},
);
}
GoRoute _mobileLaunchSettingsPageRoute() {
return GoRoute(
parentNavigatorKey: AppGlobals.rootNavKey,