objectDecor method
Implementation
BoxDecoration objectDecor() {
return BoxDecoration(
//color: matchObject,
border: Border.all(
width: 3,
),
borderRadius: BorderRadius.circular(5),
image: DecorationImage(fit: BoxFit.fill, image: AssetImage(matchObject)),
);
}