From 069c585c7ba54a6253302dc1ccf7ff65c2a0ce5d Mon Sep 17 00:00:00 2001 From: "darkhan.nausharipov" Date: Sat, 22 Oct 2022 19:39:11 +0600 Subject: [PATCH] Unit borderRadius (#23593) --- .../tour-of-beam/frontend/lib/pages/tour/widgets/unit.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/learning/tour-of-beam/frontend/lib/pages/tour/widgets/unit.dart b/learning/tour-of-beam/frontend/lib/pages/tour/widgets/unit.dart index 8d3f71c4ab14..004646c54b7a 100644 --- a/learning/tour-of-beam/frontend/lib/pages/tour/widgets/unit.dart +++ b/learning/tour-of-beam/frontend/lib/pages/tour/widgets/unit.dart @@ -61,7 +61,10 @@ class _UnitWidgetState extends State { return ClickableWidget( onTap: () => widget.contentTreeController.onNodeTap(widget.unit), child: Container( - color: isSelected ? Theme.of(context).selectedRowColor : null, + decoration: BoxDecoration( + color: isSelected ? Theme.of(context).selectedRowColor : null, + borderRadius: BorderRadius.circular(BeamSizes.size3), + ), padding: const EdgeInsets.symmetric(vertical: BeamSizes.size10), child: Row( children: [