AkandeLoveth
AkandeLoveth

Reputation: 1

How do I get my keyboard to not block the content

Image of a showBottomModalSheet widget blocked out by the keyboard.` ElevatedButton( onPressed: () { showModalBottomSheet( context: context, builder: (context) => Wrap( children: [withdrawSheet()], )); }, child: const Text('Withdraw'))

enter image description here

Upvotes: 0

Views: 69

Answers (1)

Elam
Elam

Reputation: 513

Wraps it inside SingleChildScrollView to push the BottomSheet from bottom and thus preventing keyboard from overlapping.

Upvotes: 0

Related Questions