I am using AutoLeadingButton() in my app and it displays drawer in the home page for the first time. But when ever material app rebuilds (it rebuild when updating theme or locale) app bar shows back button in the home page instead of drawer icon. When not using AutoLeadingButton() the problem does not appear.
I am using
AutoLeadingButton()
in my app and it displays drawer in the home page for the first time. But when ever material app rebuilds (it rebuild when updating theme or locale) app bar shows back button in the home page instead of drawer icon. When not usingAutoLeadingButton()
the problem does not appear.Here is my router:
Drawer is in
FeedListingRoute
.auto_route
version: 9.2.0