Reputation: 1
Image of a showBottomModalSheet widget blocked out by the keyboard.` ElevatedButton( onPressed: () { showModalBottomSheet( context: context, builder: (context) => Wrap( children: [withdrawSheet()], )); }, child: const Text('Withdraw'))
Upvotes: 0
Views: 69
Reputation: 513
Wraps it inside SingleChildScrollView to push the BottomSheet from bottom and thus preventing keyboard from overlapping.
Upvotes: 0