fix: Black screenn when press back button
This commit is contained in:
@@ -40,13 +40,7 @@ class NestedAppBar extends StatelessWidget {
|
|||||||
RootScaffold.stateKey.currentState?.openDrawer();
|
RootScaffold.stateKey.currentState?.openDrawer();
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
: IconButton(
|
: null,
|
||||||
icon: Icon(context.isRtl ? Icons.arrow_forward : Icons.arrow_back),
|
|
||||||
padding: EdgeInsets.only(right: context.isRtl ? 50 : 0),
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).pop(); // Pops the current route off the navigator stack
|
|
||||||
},
|
|
||||||
),
|
|
||||||
title: title,
|
title: title,
|
||||||
actions: actions,
|
actions: actions,
|
||||||
pinned: pinned,
|
pinned: pinned,
|
||||||
|
|||||||
Reference in New Issue
Block a user