feat(nav): 底部导航改为首页推荐追剧我的
This commit is contained in:
1 parent
ec3cb8f163
commit
91e869d589
34 files changed
+359
-263
No files matched your search
@@ -120,6 +120,7 @@ class AppSubpageHeader extends StatelessWidget {
|
||||
this.actions,
|
||||
this.onBack,
|
||||
this.dark = false,
|
||||
this.showBack = true,
|
||||
});
|
||||
|
||||
final String title;
|
||||
@@ -128,6 +129,7 @@ class AppSubpageHeader extends StatelessWidget {
|
||||
final Widget? actions;
|
||||
final VoidCallback? onBack;
|
||||
final bool dark;
|
||||
final bool showBack;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -140,8 +142,14 @@ class AppSubpageHeader extends StatelessWidget {
|
||||
padding: const EdgeInsets.symmetric(horizontal: _horizontal),
|
||||
child: Row(
|
||||
children: [
|
||||
AppSubpageBackButton(backKey: backKey, dark: dark, onBack: onBack),
|
||||
const SizedBox(width: _backGap),
|
||||
if (showBack) ...[
|
||||
AppSubpageBackButton(
|
||||
backKey: backKey,
|
||||
dark: dark,
|
||||
onBack: onBack,
|
||||
),
|
||||
const SizedBox(width: _backGap),
|
||||
],
|
||||
Expanded(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
|
||||
Reference in new issue
Block a user