Removed unnecessary remode padding widget
This commit is contained in:
parent
8e378c0e8e
commit
b112e629a4
1 changed files with 20 additions and 24 deletions
|
|
@ -23,10 +23,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
|||
appBar: AppBar(
|
||||
title: Text('Main Screen'),
|
||||
),
|
||||
body: MediaQuery.removePadding(
|
||||
context: context,
|
||||
removeLeft: true,
|
||||
child: StreamBuilder(
|
||||
body: StreamBuilder(
|
||||
stream: bloc.userTasks,
|
||||
builder: (BuildContext context, AsyncSnapshot<List<TaskModel>> snap) {
|
||||
if (!snap.hasData) {
|
||||
|
|
@ -48,7 +45,6 @@ class _HomeScreenState extends State<HomeScreen> {
|
|||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue