Stop overwriting the default divider color

It can be configured from the theme if I want it to be different. The
light grey actually seems fine, for now.
This commit is contained in:
Vishesh Handa
2019-12-06 20:12:00 +01:00
parent 4c2285a2cc
commit 0a7f00af7b
2 changed files with 2 additions and 9 deletions

View File

@ -39,12 +39,7 @@ class AppDrawer extends StatelessWidget {
);
}
var divider = Row(children: <Widget>[
Expanded(
child: Divider(
color: Theme.of(context).primaryColorLight,
))
]);
var divider = Row(children: <Widget>[const Expanded(child: Divider())]);
return Drawer(
child: ListView(

View File

@ -39,9 +39,7 @@ class JournalList extends StatelessWidget {
return ListView.separated(
separatorBuilder: (context, index) {
return Divider(
color: Theme.of(context).primaryColorLight,
);
return const Divider();
},
itemBuilder: (context, i) {
if (i >= notes.length) {