important fix
This commit is contained in:
parent
fe11a5b678
commit
59a912b8d8
@ -93,7 +93,8 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||||||
body: Column(
|
body: Column(
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
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(
|
child: CupertinoSearchTextField(
|
||||||
controller: _searchController,
|
controller: _searchController,
|
||||||
onChanged: _onSearchInputChange,
|
onChanged: _onSearchInputChange,
|
||||||
@ -118,7 +119,8 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||||||
onRefresh: _onRefresh,
|
onRefresh: _onRefresh,
|
||||||
child: ListView.separated(
|
child: ListView.separated(
|
||||||
controller: _scrollController,
|
controller: _scrollController,
|
||||||
padding: const EdgeInsets.all(30),
|
padding: const EdgeInsets.symmetric(
|
||||||
|
vertical: 20, horizontal: 30),
|
||||||
separatorBuilder: (context, index) =>
|
separatorBuilder: (context, index) =>
|
||||||
const SizedBox(height: 20),
|
const SizedBox(height: 20),
|
||||||
itemCount: state.data?.data?.length ?? 0,
|
itemCount: state.data?.data?.length ?? 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user