Fix black bars on the screens bottom and top by not wrapping scaffold in safearea, but scaffolds body children

This commit is contained in:
2025-11-22 22:52:09 +01:00
parent cc04e05557
commit 692b412fe2

View File

@@ -66,8 +66,7 @@ class _CreateGroupViewState extends State<CreateGroupView> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return SafeArea( return Scaffold(
child: Scaffold(
backgroundColor: CustomTheme.backgroundColor, backgroundColor: CustomTheme.backgroundColor,
appBar: AppBar( appBar: AppBar(
backgroundColor: CustomTheme.backgroundColor, backgroundColor: CustomTheme.backgroundColor,
@@ -78,7 +77,8 @@ class _CreateGroupViewState extends State<CreateGroupView> {
), ),
centerTitle: true, centerTitle: true,
), ),
body: Column( body: SafeArea(
child: Column(
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
children: [ children: [
Container( Container(