skip to Main Content

Flutter – Firebase call exception

I'm trying to make simple login logic using Firebase but can't get rid of this error: Exception has occurred. DartError: Bad state: Cannot fire new event. Controller is already firing an event Here is my code: import 'package:firebase_database/firebase_database.dart'; import 'package:flutter/material.dart';…

VIEW QUESTION

Flutter + VsCode: –dart-define is not (always) applied

Create a new demo 'counter' app (Flutter Demo Home Page), and change MyApp to this: // ... // This widget is the root of your application. @override Widget build(BuildContext context) { print(const String.fromEnvironment('TESTVAR1')); print(const String.fromEnvironment('TESTVAR2')); return MaterialApp( // ... Then…

VIEW QUESTION
Back To Top
Search