How to find the page is currently in the list or not? – Flutter
I have a List of Pages. The list type is widget. when I tried to find if there is any element match with the HomePage it always return false. This is my code: List<Widget> pages = [Home(), SecondPage(), ThirdPage(),SizedBox()] when…