Fix black bars on the screens bottom and top by not wrapping scaffold in safearea, but scaffolds body children
This commit is contained in:
@@ -66,19 +66,19 @@ class _CreateGroupViewState extends State<CreateGroupView> {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return SafeArea(
|
return Scaffold(
|
||||||
child: Scaffold(
|
backgroundColor: CustomTheme.backgroundColor,
|
||||||
|
appBar: AppBar(
|
||||||
backgroundColor: CustomTheme.backgroundColor,
|
backgroundColor: CustomTheme.backgroundColor,
|
||||||
appBar: AppBar(
|
scrolledUnderElevation: 0,
|
||||||
backgroundColor: CustomTheme.backgroundColor,
|
title: const Text(
|
||||||
scrolledUnderElevation: 0,
|
'Create new group',
|
||||||
title: const Text(
|
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
|
||||||
'Create new group',
|
|
||||||
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
|
|
||||||
),
|
|
||||||
centerTitle: true,
|
|
||||||
),
|
),
|
||||||
body: Column(
|
centerTitle: true,
|
||||||
|
),
|
||||||
|
body: SafeArea(
|
||||||
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
|
|||||||
Reference in New Issue
Block a user