I need to check if data was written successfuly to Firestore so if it was successful I need to show a popup showing data was written or if data wasn't written i need to show a popup showing task failed so should I use a future builder what is the way to do it