In my custom AppBar.leading I want to display a certain IconButton depending on an app state value using the Riverpod package. This
AppBar.leading
IconButton
Riverpod