radar page scroll bug fixed
This commit is contained in:
parent
3eaa5aab37
commit
1379c96453
|
|
@ -55,9 +55,14 @@ class _RadarState extends State<Radar> {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
body: Stack(
|
body: Stack(
|
||||||
children: [
|
children: [
|
||||||
CustomScrollView(
|
Theme(
|
||||||
|
data: Theme.of(context).copyWith(
|
||||||
|
colorScheme: Theme.of(context).colorScheme.copyWith(
|
||||||
|
secondary: Colors.white,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
child: CustomScrollView(
|
||||||
controller: _scrollController,
|
controller: _scrollController,
|
||||||
physics: const BouncingScrollPhysics(),
|
|
||||||
slivers: [
|
slivers: [
|
||||||
SliverPadding(
|
SliverPadding(
|
||||||
padding: const EdgeInsets.all(
|
padding: const EdgeInsets.all(
|
||||||
|
|
@ -78,7 +83,8 @@ class _RadarState extends State<Radar> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SliverPadding(
|
SliverPadding(
|
||||||
padding: const EdgeInsets.only(top: 300, right: 16, bottom: 20),
|
padding:
|
||||||
|
const EdgeInsets.only(top: 300, right: 16, bottom: 20),
|
||||||
sliver: SliverToBoxAdapter(
|
sliver: SliverToBoxAdapter(
|
||||||
child: DidvanText(
|
child: DidvanText(
|
||||||
'آخرین رصد',
|
'آخرین رصد',
|
||||||
|
|
@ -89,6 +95,7 @@ class _RadarState extends State<Radar> {
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
),
|
||||||
CategoriesRow1(isColapsed: _isColapsed),
|
CategoriesRow1(isColapsed: _isColapsed),
|
||||||
CategoriesRow2(isColapsed: _isColapsed),
|
CategoriesRow2(isColapsed: _isColapsed),
|
||||||
CategoriesList(isColapsed: _isColapsed),
|
CategoriesList(isColapsed: _isColapsed),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue