IconAdd function
Implementation
Widget IconAdd(b, {size, radius}) {
Color color = !b ? HexToColor('#3399FF') : HexToColor('#CCCCCC');
Color colorBg =
!b ? Color.fromRGBO(51, 153, 255, 0.06) : HexToColor('#F6F6F6');
return Center(
child: Icon(
Icons.add,
size: 16,
color: color,
),
).background(
width: size ?? 32.w,
height: size ?? 32.w,
color: colorBg,
radius: radius ?? 1.w);
}