feat: add divider between sidebar and the page (#1450)

This commit is contained in:
Richard Shiue 2022-11-19 19:05:09 +08:00 committed by GitHub
parent dc462b3847
commit dcf6628aa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,11 @@ class HomeMenu extends StatelessWidget {
Widget _renderBody(BuildContext context) {
// nested column: https://siddharthmolleti.com/flutter-box-constraints-nested-column-s-row-s-3dfacada7361
return Container(
color: Theme.of(context).colorScheme.surfaceVariant,
decoration: BoxDecoration(
color: Theme.of(context).colorScheme.surfaceVariant,
border:
Border(right: BorderSide(color: Theme.of(context).dividerColor)),
),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
children: [