Bottom Navigation Bar : Select Item Error

I am using Bottom Navigation Bar in my app, I wanted it to highlight/select a particular tab when coming back from another screen.

Here are the blocks

But when I came back to this mainscreen with the preefined start value, it didn’t select that tab instead showed this error.

Where am wrong ? any help ?

Because you are calling a bottombar that is not made yet.


thanks i just saw my mistake

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.