I have a bottom textField when i click it the keyboard shows up and hide the content.
I tried using: padding: MediaQuery.of(context).viewInsets
and resizetoavoidbottominset
but nothing works.
My widget tree is: Scaffold->SafeArea->Padding->SingleChildScrollView->Form
Scaffold(
resizeToAvoidBottomInset: true,
body: SafeArea(
child: Padding(
padding: EdgeInsets.symmetric(
horizontal: 20.0.w,
),
child: SingleChildScrollView(
child: Form(
key: _formKey,
child: Column(
2
Answers
Try adding
viewInsets.bottom
in thebottom padding
in youPadding
widget as below:I found success with this solution.