Bottom overflow by 30px
There are two solutions to this problem.
Add
resizeToAvoidBottomPadding: false
to yourScaffold
Scaffold( resizeToAvoidBottomPadding: false, body: ...)
- Put your
FilstList(searchtext: _text,)
inside ascrollableView
(likeSingleChildScrollView
orListView
)
Use Scaffold property "resizeToAvoidBottomPadding: false" and "SingleChildScrollView" as parent of Scaffold body:
home: Scaffold(
resizeToAvoidBottomPadding: false,
appBar: AppBar(
title: Text("Registration Page"),
),
body: SingleChildScrollView(
child: RegisterUser(),
)),
this will solve issue.
You should use resizeToAvoidBottomInset
Scaffold(
resizeToAvoidBottomInset: false, // set it to false
...
)
If you're having issues with overflow error, use SingleChildScrollView
with it.
Scaffold(
resizeToAvoidBottomInset: false, // set it to false
body: SingleChildScrollView(child: YourBody()),
)