cardDecorationWithPopUp static method
Implementation
static Decoration cardDecorationWithPopUp(String primaryColor) {
return BoxDecoration(
boxShadow: const <BoxShadow>[
BoxShadow(
color: Colors.grey,
offset: Offset(1.1, 4.0),
blurRadius: 8.0,
),
],
gradient: LinearGradient(
colors: <HexColor>[
HexColor(primaryColor),
HexColor(primaryColor),
],
begin: Alignment.topLeft,
end: Alignment.bottomRight,
),
borderRadius: const BorderRadius.only(
bottomRight: Radius.circular(8.0),
bottomLeft: Radius.circular(8.0),
topLeft: Radius.circular(8.0),
topRight: Radius.circular(54.0),
),
);
}