How can i add this foggy effect behind the FAB ? I have tried achieving this using BottomAppBar but the BottomAppBar doesnt accept Transparent Color in LinearGradient I have also tried to reduce the Opacity of BottomAppBar Background but it doesnt work as well
Widget build(BuildContext context) {
return Scaffold(
body: _myListView(context),
bottomNavigationBar: BottomAppBar(
child: Container(
height: MediaQuery.of(context).size.height/10,
decoration: BoxDecoration(
gradient: LinearGradient(colors: [Colors.transparent,Colors.white],
begin: Alignment.topCenter,
end: Alignment.bottomCenter
)
),
child: MyFloatingActionButton(),
),
),
);
}