Added border to crosspainter on cancelled timetable events

This commit is contained in:
MineTec committed 2023-06-20 20:43:54 +02:00
1 parent 7dde66b89c
commit 5510d4735a
10 files changed
+171 -92

No files matched your search

@@ -118,9 +118,18 @@ class _AppointmentComponentState extends State<AppointmentComponent> {
Visibility(
visible: widget.crossedOut,
child: Positioned.fill(
child: CustomPaint(
painter: CrossPainter(),
),
child: Container(
decoration: BoxDecoration(
border: Border.all(
width: 2,
color: Colors.red.withAlpha(200),
),
borderRadius: const BorderRadius.all(Radius.circular(5)),
),
child: CustomPaint(
painter: CrossPainter(),
),
)
),
),
],