setting height according to height of keyboard is open flutter code example Example: keyboard height flutter MediaQuery.of(context).viewInsets.bottom