skip to Main Content

flutter_localizations error Null check operator used on a null value

I want to make MyApp with Navigation Drawer. When open drawer, I got the following exception that is occured by flutter_localization. Exception caught by widgets library ======================================================= The following _CastError was thrown building NavigationDrawer(dirty, dependencies: [_LocalizationsScope-[GlobalKey#9fbb0]]): Null check operator used…

VIEW QUESTION

Flutter – Rebuilding issue when I declare MediaQuery within the build function

import 'package:bug_fix/home_screen.dart'; import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @OverRide Widget build(BuildContext context) { return const MaterialApp( home: HomeScreen(), ); } } import 'dart:developer'; import 'package:flutter/material.dart'; class HomeScreen extends StatelessWidget { const…

VIEW QUESTION

Flutter – UnsupportedError (Unsupported operation: Loaded ObjectBox core dynamic library has unsupported version 0.18.1, expected ^0.19.0)

I get this exception at the startup of the app. UnsupportedError (Unsupported operation: Loaded ObjectBox core dynamic library has unsupported version 0.18.1, expected ^0.19.0) Flutter 3.15.0-15.2.pre • channel beta • https://github.com/flutter/flutter.git Framework • revision 0d074ced6c (3 hours ago) • 2023-09-21…

VIEW QUESTION
Back To Top
Search