mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-14 23:40:30 +08:00
ListView: Remove the padding
This way it properly aligns up with the hamburger menu. I also discovered this 'debugShowMaterialGrid' option which makes working with padding issues much much easier.
This commit is contained in:
@ -45,6 +45,7 @@ class JournalApp extends StatelessWidget {
|
|||||||
'/setupRemoteGit': (context) => OnBoardingScreen(onCompleted),
|
'/setupRemoteGit': (context) => OnBoardingScreen(onCompleted),
|
||||||
},
|
},
|
||||||
debugShowCheckedModeBanner: false,
|
debugShowCheckedModeBanner: false,
|
||||||
|
//debugShowMaterialGrid: true,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,6 @@ class JournalList extends StatelessWidget {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return new ListView.builder(
|
return new ListView.builder(
|
||||||
padding: const EdgeInsets.all(8.0),
|
|
||||||
itemBuilder: (context, i) {
|
itemBuilder: (context, i) {
|
||||||
if (i >= notes.length) {
|
if (i >= notes.length) {
|
||||||
return null;
|
return null;
|
||||||
|
Reference in New Issue
Block a user