Relative Content

Tag Archive for flutterflutter-navigation

Navigationbottombar theme is not responding when ThemeMode is changing with provider

I have a navigation bottom bar listening changes in provider. Also I have provider for themeMode changes. I save the changes of theme mode to the hive. When theme mode changes in the application with user click, navigation bottom bar colors are not responding according to the mode of phone. I don’t want to change ConsumerWidget to ConsumerStatefulWidget. So how can i change navigation bottom bar colors depend on mode selection?

Navigationbottombar theme is not responding when ThemeMode is changing with provider

I have a navigation bottom bar listening changes in provider. Also I have provider for themeMode changes. I save the changes of theme mode to the hive. When theme mode changes in the application with user click, navigation bottom bar colors are not responding according to the mode of phone. I don’t want to change ConsumerWidget to ConsumerStatefulWidget. So how can i change navigation bottom bar colors depend on mode selection?

Navigationbottombar theme is not responding when ThemeMode is changing with provider

I have a navigation bottom bar listening changes in provider. Also I have provider for themeMode changes. I save the changes of theme mode to the hive. When theme mode changes in the application with user click, navigation bottom bar colors are not responding according to the mode of phone. I don’t want to change ConsumerWidget to ConsumerStatefulWidget. So how can i change navigation bottom bar colors depend on mode selection?

Flutter BuildContext navigation

I want to use the Navigator, but I get the error: Navigator operation requested with a context that does not include a Navigator, when I click on the floatingButton, I decided to make the same button for each note presented in the list, because the buttons that are already there work fine, the floattingButton for adding an note also works fine there. As I understand it, there is something wrong with the BuildContext, perhaps due to Future and async/await.

Flutter AppBar that always stays no matter what

AIM: I wish to make my flutter app also on the web, hence, like most websites, I want it to have an AppBar that is always there no matter how many screens (routes) I push or where I navigate.

Pop event not captured inside overlay

I am trying to display an overlay that closes when the native back button is pressed (or activated by gesture).
I have a PopScope widget inside an OverlayEntry which onPopInvoked method is not being called when supposed to, but the pop event is actually happening and detected by other parent PopScopes.