type '(DataSnapshot) => Null' is not a subtype of type '(DatabaseEvent) => dynamic' in type cast #11421
Rcharis
started this conversation in
Feature Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
class Dashboard extends StatefulWidget {
@OverRide
_DashboardState createState() => _DashboardState();
}
class _DashboardState extends State with SingleTickerProviderStateMixin {
bool isLoading = false;
final GoogleSignIn googleSignIn = GoogleSignIn();
final databaseReference = FirebaseDatabase.instance.reference();
late AnimationController progressController;
late Animation tempAnimation;
late Animation humidityAnimation;
@OverRide
void initState() {
super.initState();
}
Beta Was this translation helpful? Give feedback.
All reactions