fix: use Stack to render overlay above ListView content
This commit is contained in:
parent
9ef92a805a
commit
e22a8d5958
1 changed files with 39 additions and 35 deletions
|
|
@ -167,7 +167,9 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
|||
child: Container(height: 1, color: const Color(0xFF2a2a2a)),
|
||||
),
|
||||
),
|
||||
body: ListView(
|
||||
body: Stack(
|
||||
children: [
|
||||
ListView(
|
||||
padding: const EdgeInsets.all(20),
|
||||
children: [
|
||||
_buildSectionHeader('SERVER'),
|
||||
|
|
@ -204,6 +206,8 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
|||
const SizedBox(height: 32),
|
||||
_buildSaveButton(),
|
||||
const SizedBox(height: 20),
|
||||
],
|
||||
),
|
||||
if (_showEasterEgg) _buildEasterEggOverlay(),
|
||||
],
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue