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)),
|
child: Container(height: 1, color: const Color(0xFF2a2a2a)),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
body: ListView(
|
body: Stack(
|
||||||
|
children: [
|
||||||
|
ListView(
|
||||||
padding: const EdgeInsets.all(20),
|
padding: const EdgeInsets.all(20),
|
||||||
children: [
|
children: [
|
||||||
_buildSectionHeader('SERVER'),
|
_buildSectionHeader('SERVER'),
|
||||||
|
|
@ -204,6 +206,8 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||||
const SizedBox(height: 32),
|
const SizedBox(height: 32),
|
||||||
_buildSaveButton(),
|
_buildSaveButton(),
|
||||||
const SizedBox(height: 20),
|
const SizedBox(height: 20),
|
||||||
|
],
|
||||||
|
),
|
||||||
if (_showEasterEgg) _buildEasterEggOverlay(),
|
if (_showEasterEgg) _buildEasterEggOverlay(),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue