Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

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

Richard Shiuedcf6628aa371
diff --git a/frontend/app_flowy/lib/workspace/presentation/home/menu/menu.dart b/frontend/app_flowy/lib/workspace/presentation/home/menu/menu.dart
index 664958dbbe..fa245a3872 100644
--- a/frontend/app_flowy/lib/workspace/presentation/home/menu/menu.dart
+++ b/frontend/app_flowy/lib/workspace/presentation/home/menu/menu.dart
@@ -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: [