Questions tagged [pub.dev]
58 questions
0
votes
1 answer
Error: The getter 'completercd' isn't defined for the class 'FirebaseCoreWeb'
I'm currently following FreeCodeCamp's tutorial on Youtube on how to make a Flutter Instagram clone, and I'm getting this error when I try to compile my code to run on Chrome.
These are my dependencies:
cloud_firestore: ^4.3.1
cupertino_icons:…

N1v3x
- 41
- 3
0
votes
0 answers
What is the difference between .pub-cache directory inside flutter sdk and .pub-cache directory in home?
Question is simple. we have 2 .pub-cache directories one inside the flutter sdk folder and one in our home directory eg:
/home/path/to/flutter/.pub-cache/
/home/.pub-cache/
what is the difference between these two?

alireza easazade
- 3,324
- 4
- 27
- 35
0
votes
0 answers
Is there a way to share QR codes created in Flutterflow?
I've been recently developing low code apps with flutterflow, and I've noticed the recent inclusion of a widget that allows you to create QR codes, however, couldn't help but to think, is there a way to share these QR codes as an image/pdf via…
0
votes
1 answer
What is the fastest way to release a new package version on pub.dev?
I have published a package to pub.dev and I am making small changes. What is the easiest way to change all the package numbers in all the files? I usually search for the current version number in all files, for example 1.0.3 and replace it with…

Miro
- 364
- 1
- 12
0
votes
0 answers
Can I edit package documentation on pub.dev after publishing?
I wrote a pub package, but since the README is in markdown and there is no markdown preview in Android Studio, the documentation I wrote turned out bad. I used
https://stackedit.io/app# to see how it looks, and there it looks fine, but after…

Miro
- 364
- 1
- 12
0
votes
2 answers
Beginner: How to combine a SearchView with Openfoodfacts_dart
I'm a total beginner in programming. But I am in need of a App (LongStoryShort: My Son has diabetes, needs an App to calculate carbs...)
I want to create a SearchView (Textfield with Input for Searchterms and a Listview (Information from…
0
votes
1 answer
Published my first Flutter package- gif are not showing up in my read me file
Its showing on my github but not showing on pub.dev why?
github link
https://github.com/erayhamurlu/onboarding_plus
pub.dev link
https://pub.dev/packages/onboarding_plus
i hope someone show me i think it is a generic problem.

Eray Hamurlu
- 657
- 7
- 9
0
votes
2 answers
How to deploy flutter package via GitHub Action?
I am trying to deploy my package in pub.dev via Github Action, while I am able to achieve all the process I am still getting
"Pub needs your authorization to upload packages on your behalf."
How can we avoid that?
Here is my config file where I…

Kunchok Tashi
- 2,413
- 1
- 22
- 30
0
votes
0 answers
how to pass dynamic data in pluto menu? Flutter +Dart
Im using this package https://pub.dev/packages/pluto_menu_bar . I want to know do we have any easy way to add dynamic data and select them on tap,
when I had passed static data and its working fine but when larger data coming from the Database its…

Junaid Zoraiz
- 1
- 4
0
votes
0 answers
What is the difference between Flutter package and Mason Brick?
I am confusing that is there any differences between Flutter package and Mason. Is Mason Brick replacement for pub.dev packages?

Abduraimbek Yarkinov
- 68
- 6
0
votes
1 answer
Flutter calendar_view library custom startHour in dayview or weekview
Flutter calendar_view library custom hour in dayview or weekview
https://pub.dev/packages/calendar_view
how to customize startHour is '08:00'.
default startHour is '01:00', endHour is '23:00'
i want customizing startHour: '09:00', endHour: '18:00'

deok
- 9
- 2
0
votes
1 answer
How can I tell dart that it should use the latest version of the packages when using "dart pub global activate"?
I'm trying to install the package spec_cli. For this, I'm using the dart pub global activate spec_cli command.
However, there is an issue in the package spec_cli in version 0.1.2+2 or lower. To fix this, the author released 0.1.3. Unfortunately,…

Nils Reichardt
- 3,195
- 2
- 18
- 28
-1
votes
1 answer
Can anyone help me to disable a elevated button in my flutter app?
I'm attempting to disable the elevated "Scan Devices" button while the scanning process is in progress. When I alter its state after pressing the button, it does not return to its active state, even after the scanning is finished.
Here is my code…

D42X702D
- 1
- 1