I am trying to add a frosted glass effect over an image and based on my research, the below seems to be one way to go about it. However, while there is no linting, it is giving me runtime error: "cannot provide both a color and a decoration". Is there a better way to blur the image in the background with an orange frosted effect?
return Consumer<UserModel>(
builder: (context, model, _) => Scaffold(
body: Container(
color: Colors.orange.withOpacity(0.75),
decoration: BoxDecoration(
image: DecorationImage(
alignment: Alignment.bottomCenter,
image: AssetImage("assets/images/pngguru.com-id-bnwsh.png"),
fit: BoxFit.cover,
),
),