fix: use Stack to render overlay above ListView content

This commit is contained in:
fiatcode 2026-04-30 18:22:13 +07:00
parent 9ef92a805a
commit e22a8d5958
No known key found for this signature in database

View file

@ -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(),
],
),