From 4928143b318770fe29e39ade5869ff6375e362ff Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Sat, 26 Sep 2020 00:32:33 +0200 Subject: [PATCH] Graph Node: Render with a black border This way the nodes are more easily recognizable when they overlap each other. --- lib/screens/graph_view.dart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/screens/graph_view.dart b/lib/screens/graph_view.dart index 2fd2fd9a..b30d42c7 100644 --- a/lib/screens/graph_view.dart +++ b/lib/screens/graph_view.dart @@ -160,9 +160,14 @@ class NodeWidget extends StatelessWidget { Container( width: size, height: size, - decoration: const BoxDecoration( + decoration: BoxDecoration( color: Colors.orange, shape: BoxShape.circle, + border: Border.all( + width: 1, + color: Colors.black, + style: BorderStyle.solid, + ), ), ), Text(label, style: textStyle),