Hide all home page content when showing home_menu
This commit is contained in:
parent
60d65e8191
commit
1a34f14967
@ -233,6 +233,9 @@ class _HomeScreenState extends State<HomeScreen> with SingleTickerProviderStateM
|
||||
/// Floating controls / UI
|
||||
AnimatedSwitcher(
|
||||
duration: $styles.times.fast,
|
||||
child: AnimatedOpacity(
|
||||
opacity: _isMenuOpen ? 0 : 1,
|
||||
duration: $styles.times.med,
|
||||
child: RepaintBoundary(
|
||||
child: OverflowBox(
|
||||
child: Column(
|
||||
@ -257,12 +260,8 @@ class _HomeScreenState extends State<HomeScreen> with SingleTickerProviderStateM
|
||||
onDecrease: () => _setPageIndex(_wonderIndex - 1),
|
||||
onTap: () => _showDetailsPage(),
|
||||
// Hide the title when the menu is open for visual polish
|
||||
child: AnimatedOpacity(
|
||||
opacity: _isMenuOpen ? 0 : 1,
|
||||
duration: $styles.times.fast,
|
||||
child: WonderTitleText(currentWonder, enableShadows: true),
|
||||
),
|
||||
),
|
||||
Gap($styles.insets.md),
|
||||
AppPageIndicator(
|
||||
count: _numWonders,
|
||||
@ -318,6 +317,7 @@ class _HomeScreenState extends State<HomeScreen> with SingleTickerProviderStateM
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
/// Menu Btn
|
||||
TopLeft(
|
||||
|
Loading…
x
Reference in New Issue
Block a user