This commit is contained in:
Mohammed Al-Samarraie
2026-01-13 15:14:30 +03:00
parent 7cbf65e6c1
commit 3b3ed5e640
27 changed files with 36 additions and 36 deletions

View File

@@ -0,0 +1,28 @@
import 'package:flutter/material.dart';
class StatusCircle extends StatelessWidget {
final Color color;
final Widget icon;
final double size;
const StatusCircle({
super.key,
required this.color,
required this.icon,
this.size = 42, // ✅ smaller = card height reduced
});
@override
Widget build(BuildContext context) {
return Container(
width: size,
height: size,
decoration: BoxDecoration(
shape: BoxShape.circle,
border: Border.all(color: color, width: 2),
color: Colors.white,
),
child: Center(child: icon),
);
}
}