Hi ! I have a map of different places in my application and a carousel widget (detail of the places). All places have a small icon but i want that the one that is display in the carousel have another.
I’ve created a function wich is called in carousel.slider and store the id of the places in variable called idcarousel. i’d trie to pass this variable to my class “map” but when i call my variable in my class map like print(‘carouselval :$idcarousel’) the anwser i got is : carouselval :null.
My question is how do you do to get access to a function store in another page of your project and in another class ?