PersistentBottomNavBar
PersistentBottomNavBar copied to clipboard
Keyboard hiding TextFields
When opening the textFormfield the screen is not redrawn and the textFormField is not displayed when the keyboard is displayed. This error should be solved by the library, not with other widgets.
https://github.com/BilalShahid13/PersistentBottomNavBar/assets/49385324/fa5a08fd-ffb5-488a-8c66-72eaa54726ed
class CreateGestionScreenState extends ConsumerState<CreateGestionScreen> { @override Widget build(BuildContext) { return SafeArea( child: LoadingOverlay( isLoading: isLoading, child: SingleChildScrollView( child: Column( children: [ Padding( padding: const EdgeInsets.all(8.0), child: Table( TableRow(children: [ Text('Observaciones'), TextFormField( initialValue: observaciones, // key: Key( // proformProvider.proforma.entrada.toString()), // decoration: _inputDecoration, onTapOutside: (event) { FocusManager.instance.primaryFocus?.unfocus(); setState(() {}); }, // textAlign: TextAlign.end, onChanged: (value) { observaciones = value; }, ), ]),....
This is my structure
did you found solution
hideNavigationBar: MediaQuery.of(context).viewInsets.bottom > 0 ? true : false,