Skip to content

como puxar o index e a url de uma foto salva no firebase para quando o usuario relogar a foto apareça #190

Discussion options

You must be logged in to vote

Isso aqui que colocou no if está errado:
snapshot.data()!(selectedFotoIndex)
O correto é:
snapshot.data()!['selectedFotoIndex']

Obs.: snapshot.data() retorna um Map<String, dynamic>

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@edugemini
Comment options

Answer selected by EnzoLuigiScarpa
Comment options

You must be logged in to vote
2 replies
@edugemini
Comment options

@EnzoLuigiScarpa
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants