skip to Main Content

Flutter – PlatformException on Firebase.InitializeApp

I'm having problem starting Firebase after migrating to SDK 33 and Gradle 8. Error: PlatformException (PlatformException(channel-error, Unable to establish connection on channel., null, null)) Part of the code: void main() async { WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp( options: DefaultFirebaseOptions.currentPlatform, ); pubspec.yaml: environment:…

VIEW QUESTION

Flutter: Error: A value of type 'Object?' can't be assigned to a variable of type 'Output?'

I'm still a noob in Flutter and recently I just downloaded the latest Flutter version on my machine but every time I try to run my project I get this error: C:UserskhomoOneDriveDocumentsGitHubluvart-Project.dart_toolflutter_build99035e6341f80e4f3744d732501fdc7dnative_assets.yaml --verbosity=error package:luvart/main.dart [+11601 ms] [+11647 ms] ../../../../AppData/Local/Pub/Cache/hosted/pub.dev/smithy-0.5.2/lib/src/http/http_operation.dart:271:16: Error:…

VIEW QUESTION

how can i show html layout link in flutter?

I'm trying to make a html ad widget using html package, but the widget just occupy space, doesn't display layout. Widget _adWIdget() { return Html(data: """ <iframe src=adUrl width="100%" height="44" frameborder="0" scrolling="no" referrerpolicy="unsafe-url"></iframe> """); } I think it's because I…

VIEW QUESTION

Flutter Make Textfield input become uppercase

Is any update for this question Flutter TextField value always uppercase & debounce ? I've already tried some of the code to make the input text become uppercase. class UpperCaseTextFormatter extends TextInputFormatter { @override TextEditingValue formatEditUpdate(TextEditingValue oldValue, TextEditingValue newValue) {…

VIEW QUESTION
Back To Top
Search