It did help. Thanks a tonne! Next up: LayoutBuilder, pretty please
@FlutterMentor3 жыл бұрын
I have a video on that already! Here you go: kzbin.info/www/bejne/oHPRl2yjhtqYfrc
@nested93013 жыл бұрын
Hey my friend i'm really struggling with the listview index how can i access it with provider in all my screen this is a topic no one talk about
@FlutterMentor3 жыл бұрын
Hi there, what do you mean exactly? You want to access the index how? To do what?
@nested93013 жыл бұрын
@@FlutterMentor ikeep passing the index into the constructor i need to acces it with provider how can i do it ? thank you !
@nested93013 жыл бұрын
i finally find work around : onTap: () { Navigator.push( context, MaterialPageRoute(builder: (context) { Provider.of(context, listen: false) .index = index; return MessageDetailsPage(); }), ); },
@FlutterMentor3 жыл бұрын
@@nested9301 sorry for not replying sooner, but seems like it was for the better! When we have to figure it out on our own, we never forget it after that haha. Well done!
@nested93013 жыл бұрын
@@FlutterMentor thanks mate and don't worry hehe keep on coding :D