You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this error. It would be helpful if someone could come up with a solution. :)
╞═══════════════════════════════════════════════════════════
js_primitives.dart:28 The following NotInitializedError was thrown building Builder:
js_primitives.dart:28 Instance of 'NotInitializedError'
The text was updated successfully, but these errors were encountered:
import 'package:flutter/material.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:profitolio_mobile/config/app_theme.dart';
import 'package:profitolio_mobile/screens/login/login_screen.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await dotenv.load(
fileName: '.env');
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@OverRide
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Login',
theme: AppTheme.lightTheme,
home: LoginScreen(),
);
}
}
I am getting this error. It would be helpful if someone could come up with a solution. :)
╞═══════════════════════════════════════════════════════════
js_primitives.dart:28 The following NotInitializedError was thrown building Builder:
js_primitives.dart:28 Instance of 'NotInitializedError'
The text was updated successfully, but these errors were encountered: