Questions tagged [flutter-3.0]

31 questions
63
votes
4 answers

Flutter: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. when upgrading to flutter 3.0.0

When upgraded to flutter 3.0.0 , there is a problem started to appear when running the app, (The app works but there are error/s (warning/s) in the terminal). It seems like a Binding issue. the error(warning) says: Warning: Operand of null-aware…
Mohammad Rabiee Nasri
  • 1,309
  • 2
  • 7
  • 26
22
votes
4 answers

Play Store Warning : play-services-safetynet (com.google.android.gms:play-services-safetynet) has reported critical issues with version 17.0.0

I got this warning from play store when I was trying to update my Flutter on play store. The developer of play-services-safetynet (com.google.android.gms:play-services-safetynet) has reported critical issues with version 17.0.0. Consider upgrading…
MANISH
  • 2,883
  • 4
  • 11
  • 30
5
votes
6 answers

Flutter: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null

Recently, my Debug Console was showing something that wasn't showing before. This happens when I use package flutter_typeahead. I don't know if this is an error or a warning. Below is my Debug Console: Launching lib\main.dart on Chrome in debug…
My Car
  • 4,198
  • 5
  • 17
  • 50
4
votes
0 answers

How to use menu like FilterChip in Flutter

Is there any way to achieve the following effect? Chips-Material Design 3 I try to use dropdownmenu, but failed this is my code(flutter 3.3, useMaterial3: true): ps: forgive my ugly english.. class MyHomePage extends StatefulWidget { const…
Answer_K
  • 155
  • 9
4
votes
3 answers

Flutter: Execution failed for task ':agora_rtc_engine:compileDebugKotlin'

I am working on an old project. It worked fine before 5 days ago. Now I am facing an error with agora. I didn't any change on my previous code. here is error- FAILURE: Build failed with an exception. * What went wrong: Execution failed for task…
Abir Ahsan
  • 2,649
  • 29
  • 51
4
votes
4 answers

Does Xcode 13.4 and Flutter 3.0 work fine?

Previous version (Xcode 13.3 and Flutter 2.10) have some build time errors. *xcodebuild[62848:6695836] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for…
A.K.J.94
  • 492
  • 6
  • 14
2
votes
0 answers

Is there any possible ways to implement Apple Pay on Flutter Web?

Note: I have already implemented Apple Pay on mobile successfully, but there are not any useful resources to integrate Apple Pay with Flutter Web.
2
votes
2 answers

Raised Button Replacement Flutter Update

I have the problem that the Raised Button is no longer a usable Button in Flutter so I have to replace it with a elevated Button for example. But when I try to convert it to an elevated Button it gives me an error with the color and shape Property.…
paddy708
  • 133
  • 7
2
votes
0 answers

Dart enhanced enums - Non-redirecting const factory invocation is not a constant expression

I'm migrating my Flutter 3 app over to using the new enhanced enums instead of extending the enums manually. I have this enum (lots of the functions are obsolete now but they are used in my existing code). I json serialise it and store it. import…
BeniaminoBaggins
  • 11,202
  • 41
  • 152
  • 287
2
votes
2 answers

Flutter 3.0 shows error : WidgetsBinding.instance!.addPostFrameCallback((_) => widget.onReady.call());

After the upgrade project in flutter 3.0 it shows the following error. Syncing files to device iPhone 13 Pro…
amit.flutter
  • 883
  • 9
  • 27
2
votes
1 answer

Flutter : Resource and asset merger: Can't determine type for tag ''

I am developing an app with InAppWebview package in Flutter 3.0. In this package we can't access file in webview in android device. That's why I added provider in AndroidManifest.xml file and add a new file provider_paths.xml in res>value folder.…
1
vote
1 answer

How to get android device name in Flutter?

I try to get android Device name. Now I am using package device_info_plus v4.1.2, but it can't get this info. DeviceInfoPlugin deviceInfo = DeviceInfoPlugin(); AndroidDeviceInfo androidInfo = await deviceInfo.androidInfo; Output print('Running on…
RuchDi
  • 250
  • 3
  • 14
1
vote
0 answers

How to avoid "Warning: Mapping..." in Flutter

My application works fine on Flutter 2.0 But when I upgrade Flutter to version 3.0 shows the warning below : Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns…
RuchDi
  • 250
  • 3
  • 14
1
vote
1 answer

Flutter: White space coming while using BoxConstraints

White space coming in horizontal view, while giving max width to Container with BoxConstraints. Versions Flutter: 3.3.0 Dart: 2.18.0 My code return Scaffold( body: Container( decoration: ..., padding: const EdgeInsets.all(16.0), child:…
parth
  • 1,803
  • 2
  • 19
  • 27
1
vote
1 answer

Why can't Flutter make "const" default automatically?

I'm really bothering with the "const" in Flutter 3.0. Why can't Flutter make "const" default automatically? Since during editing, it already displays warning about a certain expression having to be "const", it could automatically infer that…
sérgio brito
  • 388
  • 3
  • 6
1
2 3