Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/src/widget/app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class NeumorphicAppBarState extends State<NeumorphicAppBar> {
final bool canPop = parentRoute?.canPop ?? false;
final bool useCloseButton =
parentRoute is PageRoute<dynamic> && parentRoute.fullscreenDialog;
final ScaffoldState scaffold = Scaffold.maybeOf(context);
final ScaffoldState scaffold = Scaffold.of(context);
final bool hasDrawer = scaffold?.hasDrawer ?? false;
final bool hasEndDrawer = scaffold?.hasEndDrawer ?? false;

Expand Down