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(
|
||||
body: Stack(
|
||||
children: [
|
||||
CustomScrollView(
|
||||
Theme(
|
||||
data: Theme.of(context).copyWith(
|
||||
colorScheme: Theme.of(context).colorScheme.copyWith(
|
||||
secondary: Colors.white,
|
||||
),
|
||||
),
|
||||
child: CustomScrollView(
|
||||
controller: _scrollController,
|
||||
physics: const BouncingScrollPhysics(),
|
||||
slivers: [
|
||||
SliverPadding(
|
||||
padding: const EdgeInsets.all(
|
||||
|
|
@ -78,7 +83,8 @@ class _RadarState extends State<Radar> {
|
|||
),
|
||||
),
|
||||
SliverPadding(
|
||||
padding: const EdgeInsets.only(top: 300, right: 16, bottom: 20),
|
||||
padding:
|
||||
const EdgeInsets.only(top: 300, right: 16, bottom: 20),
|
||||
sliver: SliverToBoxAdapter(
|
||||
child: DidvanText(
|
||||
'آخرین رصد',
|
||||
|
|
@ -89,6 +95,7 @@ class _RadarState extends State<Radar> {
|
|||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
CategoriesRow1(isColapsed: _isColapsed),
|
||||
CategoriesRow2(isColapsed: _isColapsed),
|
||||
CategoriesList(isColapsed: _isColapsed),
|
||||
|
|
|
|||
Loading…
Reference in New Issue