Questions tagged [flutter2.0]

For questions about Flutter UI software development kit that are specific to version 2 of the framework. Use the more generic [flutter] tag on all Flutter questions, and only add this one if your question is specific to version 2.


Resource


Source Code and Building


Community


Related tags

89 questions
3
votes
2 answers

Execution failed for task ':app:compileFlutterBuildDebug' - flutter.gradle line: 1035

I don't know what the problem with my Gradle. I tried everything. flutter pub cache repair flutter clean delete .gradle delete pubspec.lock everything, but nothing. I do not understand what could be. If anyone has an answer or can help me I would…
3
votes
3 answers

Flutter 2.0 The return type of getter 'xxxx' is 'dynamic' which isn't a subtype of the type 'List' of its setter 'xxxx'

I'm recently migrate my code to flutter 2.0, but I'm getting this error: error: The return type of getter 'tabbarcatinfo' is 'dynamic' which isn't a subtype of the type 'List' of its setter 'tabbarcatinfo'. import…
Rafael Zablah
  • 35
  • 1
  • 6
3
votes
0 answers

Flutter: MissingPluginException (No implementation found for method Firebase#initializeCore on channel plugins.flutter.io/firebase_core)

I update my project from flutter to Flutter 2.0 null-safety. I solved every problem beetween dependencies, but when I run the app console show me this error. I find lot of similar question, but their answer don't work in my project. I try with…
nvrm22
  • 61
  • 4
3
votes
1 answer

Flutter crash in release mode

getting this exception on release mode Error while initializing the Dart VM: Precompiled runtime requires a precompiled snapshot Flutter version 2.0.4
Chirag
  • 156
  • 1
  • 10
3
votes
2 answers

Flutter2 Upgrade: Why build_runner package is not null-safe

I'm trying to upgrade my Flutter project to Flutter2. I see all my packages are null-safe but bulid_runner. $ flutter pub outdated --mode=null-safety Showing dependencies that are currently not opted in to null-safety. [✗] indicates versions…
bianca
  • 7,004
  • 12
  • 43
  • 58
3
votes
1 answer

Flutter 2.0 giving pub get failed(server unavailable) on mac running BigSur

Flutter doctor gives server unavailable error "Got socket error trying to find package node_preamble at https://pub.dartlang.org." Installed Flutter for mac running BigSur and since then haven't been able to run it (pub get failed (server…
itz_ritz
  • 31
  • 1
  • 3
3
votes
2 answers

How do I dismiss the keyboard in TextFormfield flutter 2.0.1

Hey how do I dismiss the keyboard here? I want the keyboard to dismiss when tapped outside the area. Widget build(BuildContext context) { return Padding( padding: const EdgeInsets.fromLTRB(15, 0, 15, 0), child: TextFormField( keyboardType:…
Julia Pak
  • 475
  • 6
  • 19
3
votes
0 answers

flutter 2.0 web is lagging on mobile browser

My flutter app is working fine on phones and web on desktops but is lagging when scrolling on browsers in phones (safari & chrome) specially when i use ExpansionTile in a ListView i'm using flutter 2.0.1 stable channel preview on phone…
Mahmood Bkh
  • 499
  • 2
  • 4
  • 15
2
votes
1 answer

How to integrate Facebook Pixel Sdk in flutter

I want to integrate the facebook pixel sdk in flutter. Can anyone help me that how i can integrate that in my flutter project
2
votes
1 answer

Flutter 2.5.2 giving error compile time app:checkDebugAarMetadata

I have updated Flutter New Version 2.5.2 and I got this error. ********************************************************* WARNING: This version of video_player will break your Android build if it or its dependencies aren't compatible with…
Pratik Butani
  • 60,504
  • 58
  • 273
  • 437
2
votes
1 answer

Flutter Login through API

After Successful Login, I am getting User_id and User_type I want to access the User_id and User_type. By Using User_type,I want to log in the supervisor or Promoter Future postMethod() async { var api =…
2
votes
1 answer

How to do multiple files of integration tests in flutter 2?

I'm trying to create an integration test for my Flutter app with new integration_test package: https://github.com/flutter/flutter/tree/master/packages/integration_test#integration_test I have multiple files of integration tests,…
Francesco Bocci
  • 827
  • 8
  • 19
2
votes
1 answer

Flutter lib size and assets size too big

I am unable to encounter why my lib size is so big. Even the assets folder is showing 35MB but the image stored in the assets folder is 500KB only, I am unable to locate the issue that caused the app size to get this…
Malay Agrawal
  • 27
  • 1
  • 12
2
votes
1 answer

Video player breaks down in flutter 2.0 (null safety)

I want to show a video in my flutter app and like always, I am using the video_player plugin. But for some reason, now that I have migrated to null safety, the video player gives me this error Error: PlatformException(MEDIA_ERR_SRC_NOT_SUPPORTED,…
Siddharth Agrawal
  • 2,960
  • 3
  • 16
  • 37
2
votes
2 answers

Flutter Upgrade Issue

I upgraded my flutter to 2.2.0. But is showing an error like this: Because mockito >=5.0.8 depends on code_builder ^4.0.0 and build_runner >=0.9.1+1 <2.0.0 depends on code_builder >2.3.0 <4.0.0, mockito >=5.0.8 is incompatible with build_runner…