For questions about specific flutter packages. A package can contain dependencies (listed in the pubspec), Dart libraries, apps, resources, tests, images, and examples
Questions tagged [flutter-packages]
462 questions
478
votes
34 answers
How to change package name in flutter?
Is there any way to change Package Name of Flutter project?
I want to change package name and application name in flutter project.

Abc Xyz
- 5,907
- 5
- 11
- 7
263
votes
42 answers
Visual Studio Code - Target of URI doesn't exist 'package:flutter/material.dart'
I've just set up my Macbook for flutter development,
So I downloaded flutter SDK, and placed it in my Documents. After, I set up my path variable to work with flutter in my command line.
I execute the command flutter create todolist so I achieve a…

James
- 3,580
- 3
- 25
- 36
50
votes
13 answers
FlutterFirebaseCorePlugin.java uses or overrides a deprecated API
Ok so I run my program without importing firebase core, firebase auth and cloud firestore, and my code runs just fine but I register my app with firebase and it still runs fine but as soon as I import Firebase_auth, Firebase_core and…

Fred_Wolfe
- 658
- 1
- 7
- 18
47
votes
7 answers
Flutter command to delete packages in .pub-cache folder
How to delete the flutter packages in .pub-cache folder? When we give flutter clean, it will delete the build folder in the current directory. We can delete it manually, but my requirement is to delete the packages in .pub-cache folder using the…

Dharanidharan
- 1,038
- 1
- 9
- 15
36
votes
10 answers
How to remove or identify unused packages from flutter to reduce size of the project?
I used some packages that I no longer need in my flutter project, namely the wilddog_auth and wilddog_sync, I can remove the imports from pubspec.yaml file, and my dart files (aka removing import 'package:wilddog_sync/wilddog_sync.dart' etc.) and…

Aero Wang
- 8,382
- 14
- 63
- 99
24
votes
2 answers
Can anyone tell the difference of "flutter_bloc" and "bloc" packages in Flutter
I am getting started with Bloc in Flutter. Can anyone tell what is really "flutter_bloc" and "bloc" packages I have these questions.
are they same.
when/how to use this.
Thank you

Abhin Krishna KA
- 745
- 8
- 13
23
votes
7 answers
Flutter Error: No named parameter with the name 'displayLarge'
I am working on an app, I posted last update on git 2 days ago and haven't touched the code since. Now, I opened android studio and it was giving me this error when I tried to run it... I tried deleting repository from my computer and then cloning…

Karlo Kajba Šimanić
- 263
- 1
- 2
- 9
22
votes
4 answers
How to add assets in flutter Package/Plugin development?
I am developing a flutter package containing some assets files. I mentioned required assets in pubsepc.yaml as usual like this
assets:
- assets/abc.xyz
and uploaded the package to https://pub.dartlang.org/.
After that I created a flutter…

Shahzad Akram
- 4,586
- 6
- 32
- 65
22
votes
11 answers
Target of URI doesn't exist 'package:flutter/material.dart'
My Flutter IDE (Android Studio) doesn't recognize material.dart anymore! It happened suddenly, I was working normally then my PC turned off because of CPU 100% consumption and when I restarted I found this problem.

Farah Bédoui
- 863
- 2
- 7
- 8
19
votes
9 answers
Pod install error on M1 Mac - Flutter project with native code like shared_preferences
I'm on a MacBook Pro M1 (and before someone says well it's because of M1 or something else, I've been programming with Flutter and M1 for weeks but then I must have to reset my M1 and after this) ... my big problem:
I can not start my project with a…

Talal Zeid
- 231
- 1
- 2
- 5
15
votes
1 answer
Using Flutter Downloader plugin, after download app closes
I use flutter_downloader package. After complete download some files, my app closes automatically and disconnects from the android studio. Anyone help me to find solutions.
final status = await Permission.storage.request();
if…

Harsh Sureja
- 1,052
- 1
- 9
- 22
15
votes
2 answers
What is the difference between flutter plugin and flutter module?
I am new to flutter plugin development, I have read Developing packages & plugins and Writing a good Flutter plugin, but I am confused as a beginner, I have developed Flutter Application based on webview_flutter and a JavaScript library to work…

Shahzad Akram
- 4,586
- 6
- 32
- 65
13
votes
12 answers
flutter pub get is stucking
When I run in terminal flutter pub get is stuck it's showing
OS MacOS Catalina 10.15.3
Got TLS error trying to find package launch_review at https://pub.dartlang.org.
pub get failed (server unavailable) --…

Yunus
- 175
- 1
- 1
- 6
13
votes
7 answers
Flutter: pub get failed
Flutter project showing me a warning 'Packages get' has not been run with suggested solutions,
Get Dependencies
Upgrade Dependencies
Ignore
As suggested by Darky, in this answer to go ahead with 'Get Dependencies'
I tried it but it shows me an…

Krunal
- 77,632
- 48
- 245
- 261
12
votes
4 answers
"flutter pub get" can't get dependency plugins
I've been trying to get dependencies for my Flutter project on Windows but it's taking a long time and after a while , it shows this error in 'messages' bar.
Running "flutter pub get" in badhan_blood_bank...
OS Error: The semaphore…

Md Mahmudul Islam
- 2,514
- 4
- 18
- 33