xxxxxxxxxx
final bool showFab = MediaQuery.of(context).viewInsets.bottom==0.0;
//then use Visibility widget to wrap the FAB and set visible attribute to showFab
buildAcitonButton(){
return Visibility(
visible: _showFab,
child: RaisedButton(
child:
),
);
}
xxxxxxxxxx
An easy solution is to set `resizeToAvoidBottomInset` to false in your Scaffold a.
It prevents the keyboard pushes bottom widgets up.