Skip to content

Commit 1f0947d

Browse files
committed
Commented the curved app drawer part
1 parent fa4125b commit 1f0947d

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

lib/widgets/custom_drawer.dart

+10-8
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,16 @@ class _CustomDrawerState extends State<CustomDrawer> with SingleTickerProviderSt
175175
..rotateX(0.15*_animationController.value),
176176
origin: Offset(0,0),
177177
alignment: Alignment.center,
178-
//child: child,
179-
child: ClipRRect(
180-
borderRadius: BorderRadius.circular(20*_animationController.value),
181-
child: AbsorbPointer(
182-
absorbing: _isDrawerOpened,
183-
child: screens[screen],
184-
),
185-
)
178+
179+
// comment the child and uncomment the commented child to get the curved app drawer
180+
child: child,
181+
// child: ClipRRect(
182+
// borderRadius: BorderRadius.circular(20*_animationController.value),
183+
// child: AbsorbPointer(
184+
// absorbing: _isDrawerOpened,
185+
// child: screens[screen],
186+
// ),
187+
// )
186188
);
187189
},
188190
child: AbsorbPointer(

0 commit comments

Comments
 (0)