Questions tagged [pub.dev]
58 questions
0
votes
0 answers
Cached Network Image not displaying
The image is not getting loaded using CachedNetworkImage, but when i use Image.network it works without any issues. I used the code from the official documentation.
GridView.builder(
itemCount: 10,
gridDelegate: const…

Martins
- 41
- 7
0
votes
1 answer
I dont want to upload my dart packages to pub.dev but I want to share them effectively with my team
So lately we started creating our own dart packages and want to share them effectively (if someone updates it everyone can just pull the newest version with the pub command) So I was wondeing if it would be possible to host our own little "pub.dev"…
0
votes
0 answers
How send Https request with OAuth 1.0 authentication in Flutter
I was trying DIO HTTP packages but not find any way dto send request with OAuth 1.0.
There is a package oauth1 but I could not understand it. please tell me any solution I want to use it in woocommerce api.

Muhammad Zain
- 11
- 1
- 2
0
votes
2 answers
Flutter awesome_extensions package issue
I cloned a project that uses awesome_extensions package version 2.0.5 but the problem is whenever I run the flutter pub get and run the app. It gives the following error that shows the version 2.0.8 is…

Hama Sabah
- 342
- 4
- 9
0
votes
0 answers
Connection closed before full header was received ``
Connection closed before full header was received
I have the same issue as documented here only with a dart project.
When I run:
dart pub publish
Results in;
FINE: Validating package finished (27.076s).
ERR : Connection closed before full header…

endonym
- 3
- 2
0
votes
0 answers
how to remove editing toolbar bottomsheet from html editor enhanced and add custom one
reference image :
enter image description here
I used html editor enhanced's example from pub.dev
how to remove this X marked portion , even after removing all buttons or removing other options: doesnt resolve
I need to add custom editing bar at…
0
votes
1 answer
How can i get cities, their countries and their timezones(i.e GMT+0.0) in flutter for time app?
How can i get cities, their countries and their timezones(i.e GMT+0.0) in flutter for time app.
I am trying to clone my local time app, which requires City name, country name and its GMT time. I dont know from where i can get this all 3 info. So far…

Junaid Aslam
- 58
- 9
0
votes
1 answer
Trying to find a Flutter package for app usage detection
I'm looking for a Flutter package (specifically for Android devices) which allows checking the app usage in my device, so that I can know when did the user open some application. Any recommendations / code examples?

obs
- 23
- 4
0
votes
0 answers
How can I stop shake effects in Flutter's shake package after an action, for example when an AlertDialog pops up?
I used shake 2.2.0 from pub.dev to detect when a phone shake ! and it works, when the user shakes the phone an alertdialog pops up
the thing is after it's up the user still can shake the phone and another alertdialog shows up, i want the shake to…

sovameyn
- 1
0
votes
2 answers
Unable to verify a GitHub page to create a publisher in Pub.dev
Some time ago, I was able to verify my blog at blogspot.com, and published packages on Pub.dev under that publisher. Recently, I decided to switch to a GitHub page, as it is a lot better from the version control perspective as well as gives a lot…

Alexander Iurovetski
- 71
- 6
0
votes
1 answer
dart pub add a git dependency by git-ssh
If I add a dependency in this command
pub add my_package --git-url=git@git.test.com:tong/my_package.git --git-ref=0.0.1
It will tell me "The --git-url must be a valid url: Illegal scheme character."
Is it possible to add dependencies in this way?…

Tong Fang
- 1
- 1
0
votes
1 answer
Invalid argument (callbackUrlScheme): must be a valid URL scheme
I am using fitbitter 2.0.1 dependency in my flutter application to display fitness related data from fitbit. But I am getting "Invalid argument (callbackUrlScheme): must be a valid URL scheme" as a error. For more details I have given below my…

Ganesh
- 89
- 4
0
votes
1 answer
I am trying to make this app bar this is my final goal
I tried to follow some tutorials to make curved app bars but i couldn't get to the same result as i want
My Code :
appBar: PreferredSize(
preferredSize: Size.fromHeight(200),
child: Container(
decoration:…

Humza Khan
- 3
- 3
0
votes
0 answers
According to package analysis, device_info_plus 8.1.0 is not Web compatible?
Visiting its Pub.dev website, it states device_info_plus is compatible with all six platforms:
Of course, I want my Dart package, fluttery framework, to be Web-compatible, but it appears device_info_plus is preventing this.
It's not suppose to do…

Andrious Solutions
- 706
- 1
- 7
- 23
0
votes
1 answer
How to add more than initial duration using SimpleTimer widget flutter
I created a SimpleTimer Widget using this package : https://pub.dev/packages/simple_timer
It's says on the doc that with the "add" method it allow to go over the initial duration. So here i set my initial duration at 20 sec and every time I get a…

Coca95
- 31
- 5