important fix

This commit is contained in:
dyakonovr 2024-09-25 14:54:30 +04:00
parent fe11a5b678
commit 59a912b8d8

View File

@ -93,7 +93,8 @@ class _MyHomePageState extends State<MyHomePage> {
body: Column(
children: [
Padding(
padding: const EdgeInsets.only(right: 30, left: 30, top: 20),
padding:
const EdgeInsets.only(right: 30, left: 30, top: 20, bottom: 20),
child: CupertinoSearchTextField(
controller: _searchController,
onChanged: _onSearchInputChange,
@ -118,7 +119,8 @@ class _MyHomePageState extends State<MyHomePage> {
onRefresh: _onRefresh,
child: ListView.separated(
controller: _scrollController,
padding: const EdgeInsets.all(30),
padding: const EdgeInsets.symmetric(
vertical: 20, horizontal: 30),
separatorBuilder: (context, index) =>
const SizedBox(height: 20),
itemCount: state.data?.data?.length ?? 0,