Added border to crosspainter on cancelled timetable events
This commit is contained in:
@ -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(),
|
||||
),
|
||||
)
|
||||
),
|
||||
),
|
||||
],
|
||||
|
Reference in New Issue
Block a user