fix black top/bottom bar when wrapping scaffold in safearea
Some checks failed
Pull Request Pipeline / test (pull_request) Successful in 2m10s
Pull Request Pipeline / lint (pull_request) Failing after 2m19s

This commit is contained in:
2025-11-22 16:31:15 +01:00
parent 63d9ed400d
commit b668f6b9ae

View File

@@ -31,7 +31,9 @@ class _CustomNavigationBarState extends State<CustomNavigationBar>
@override
Widget build(BuildContext context) {
return SafeArea(
return Container(
decoration: BoxDecoration(color: CustomTheme.backgroundColor),
child: SafeArea(
minimum: EdgeInsets.symmetric(vertical: 30),
child: Scaffold(
appBar: AppBar(
@@ -104,6 +106,7 @@ class _CustomNavigationBarState extends State<CustomNavigationBar>
),
),
),
),
);
}