In my option the best way is to add Material() over the widget you are currently using.
return Material(
elevation: 20,
child: Container(),
);
In my option the best way is to add Material() over the widget you are currently using.
return Material(
elevation: 20,
child: Container(),
);