shadow top-level property
Implementation
List<BoxShadow> shadow = [
if (isShadow)
const BoxShadow(
color: Color.fromRGBO(0, 0, 0, 0.06),
spreadRadius: 0,
blurRadius: 20,
offset: Offset(0, 6), // changes position of shadow
)
else
const BoxShadow(color: Colors.transparent)
];