Skip to content

Instantly share code, notes, and snippets.

View harsh-2024's full-sized avatar
๐Ÿ‡ฎ๐Ÿ‡ณ
DANGER : Do not see my profile.

Harsh Tripathi harsh-2024

๐Ÿ‡ฎ๐Ÿ‡ณ
DANGER : Do not see my profile.
View GitHub Profile
void getMessages() async {
final msgs = await _fireStore.collection('myMessages').get();
for (var msg in msgs.docChanges) {
print(msg.doc.data());
}
}
RoundedButton(Colors.cyan,
() => Navigator.pushNamed(context, LoginScreen.id), 'Login'),
RoundedButton(
Colors.blueAccent,
() => Navigator.pushNamed(context, RegistrationScreen.id),
'Register')
],
),
),
);