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.
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…
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…
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…
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…
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…
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:…
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…
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…
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 =…
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,…
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…
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,…
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…