skip to Main Content

Flutter Error: Dart library 'dart:ui' is not available on this platform

[Running] dart "c:UsersPCAndroidStudioProjectsFlutterXDlibmain.dart" ../../Documents/FlutterDev/flutter/packages/flutter/lib/src/material/animated_icons.dart:9:8: Error: Dart library 'dart:ui' is not available on this platform. import 'dart:ui' as ui show Canvas, Paint, Path; ^ Context: The unavailable library 'dart:ui' is imported through these packages: package:flutterxd => package:flutter => dart:ui ... Detailed…

VIEW QUESTION

Property 'context' cannot be accessed on 'OverlayState?' because it is potentially null: Flutter

I am making a Text Editor application in flutter and want to use- https://pub.dev/packages/flutter_quill But, when I try to build the project after adding the dependency, I get the following error- /D:/flutter_windows_2.10.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-6.3.2/lib/src/widgets/toolbar/quill_font_size_button.dart:113:41: Error: Property 'context' cannot be accessed on 'OverlayState?'…

VIEW QUESTION

Android Studio: Firebase Push Notifications not working when app is minimized or closed

After updating compileSdkVersion from 30->31 in gradle file, android phones have stopped receiving notifications when the app is minimized or closed. Gradle File: implementation 'com.google.firebase:firebase-analytics:17.2.2' implementation 'com.google.firebase:firebase-auth:19.2.0' implementation 'com.google.firebase:firebase-firestore:21.4.0' implementation 'com.google.firebase:firebase-messaging:20.1.0' implementation 'com.google.firebase:firebase-analytics:17.2.2' implementation 'com.google.android.gms:play-services-location:18.0.0' Manifest File: <service android:name=".service.ABCMessaging" android:exported="true">…

VIEW QUESTION
Back To Top
Search