File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments