mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
Graph Node: Render with a black border
This way the nodes are more easily recognizable when they overlap each other.
This commit is contained in:
@ -160,9 +160,14 @@ class NodeWidget extends StatelessWidget {
|
|||||||
Container(
|
Container(
|
||||||
width: size,
|
width: size,
|
||||||
height: size,
|
height: size,
|
||||||
decoration: const BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Colors.orange,
|
color: Colors.orange,
|
||||||
shape: BoxShape.circle,
|
shape: BoxShape.circle,
|
||||||
|
border: Border.all(
|
||||||
|
width: 1,
|
||||||
|
color: Colors.black,
|
||||||
|
style: BorderStyle.solid,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(label, style: textStyle),
|
Text(label, style: textStyle),
|
||||||
|
Reference in New Issue
Block a user