you can do: final keyboardHeight = MediaQuery.of(context).viewInsets.bottom;
and edit the bottom padding to be like that:
bottom: AppSizes.medium + keyboardHeight,
or you can add Sizedbox at the bottom with fixed height so it always appears