fix radars issue

This commit is contained in:
MohammadTaha Basiri 2023-10-12 16:22:28 +03:30
parent 944409c69d
commit eef1acc601
1 changed files with 11 additions and 0 deletions

View File

@ -104,6 +104,12 @@ class _RadarState extends State<Radar> {
), ),
), ),
), ),
if (state.searching || state.filtering)
const SliverToBoxAdapter(
child: SizedBox(
height: 72,
),
),
SliverStateHandler<RadarState>( SliverStateHandler<RadarState>(
onRetry: () => state.getRadars(page: state.page), onRetry: () => state.getRadars(page: state.page),
state: state, state: state,
@ -152,6 +158,11 @@ class _RadarState extends State<Radar> {
const SliverToBoxAdapter( const SliverToBoxAdapter(
child: SizedBox(height: 320), child: SizedBox(height: 320),
), ),
const SliverToBoxAdapter(
child: SizedBox(
height: 100,
),
),
], ],
), ),
if (state.appState != AppState.failed) if (state.appState != AppState.failed)