custom static method
Implementation
static BoxDecoration custom({
Color? fillColor,
double? topLeft,
double? topRight,
double? bottomLeft,
double? bottomRight,
}) {
return BoxDecoration(
color: fillColor ?? Get.theme.cardColor,
borderRadius: BorderRadius.only(
topLeft: Radius.circular(topLeft ?? 0),
topRight: Radius.circular(topRight ?? 0),
bottomLeft: Radius.circular(bottomLeft ?? 0),
bottomRight: Radius.circular(bottomRight ?? 0),
),
);
}