The safearea in modal is being ignored when keyboard is engaged. It this example you can see modal move by clicking on TextField. How can I have SafeArea in modal and avoid moving the modal when keyboard is activated?
Scaffold(
resizeToAvoidBottomInset: false,
body: SafeArea(
child: Center(
child: FlatButton(
child: Text('open modal'),
onPressed: () => showModalBottomSheet(
isScrollControlled: true,
context: context,
builder: (context) => SafeArea( //< when safearea is removed the modal doesn't move
child: Container(
height: 500,
child: TextField(
onChanged: (v) {},
),
),
),
),
),
),
),
);