Questions tagged [dart-packages]

42 questions
2
votes
1 answer

How to make the country code come inside the form field in flutter using intl_phone_number_input

I want to make the country code pick come inside the textformfield() like a prefix icon. How do I do that?. This is the code I used from intl_phone_number_input. InternationalPhoneNumberInput( onInputChanged: (PhoneNumber number) { …
2
votes
1 answer

Get the next target on tutorial_coach_mark

I'm using a great coach tutorial for flutter called https://pub.dev/packages/tutorial_coach_mark My problem is that I can get the next target only if I'm pressing on a free space on the screen. In my case I having a lot of text on the tutorial, so…
genericUser
  • 4,417
  • 1
  • 28
  • 73
2
votes
1 answer

Flutter returns Execution failed for task ':app:transformClassesWithDexBuilderForDebug' as soon as I add packages

I want to make an Android app with Flutter that uses the firebase ml kit to perform text recognition on images. I have successfully added firebase to my flutter project, but as soon as I add the packages image_picker: 0.6.1+4 and firebase_ml_vision:…
1
vote
1 answer

Flutter Dart Error: Dart_LookupLibrary: library 'package:home_widget/home_widget_callback_dispatcher.dart' not found

I am using Home Screen Widget the package is here https://pub.dev/packages/home_widget/install and with flutter run --release I get the following error Dart Error: Dart_LookupLibrary: library…
1
vote
1 answer

What are the default headers used by http package?

What headers does Dart's http package use by default when POST or GET requests made from a Flutter application? Does using a Client make difference?
1
vote
1 answer

flutter pubspec.yaml - select package version from git

I need get package form github I know how to do it dart_vlc: dart_vlc_ffi: git: url: https://github.com/alexmercerind/dart_vlc.git path: ffi ref: master But my problem it's get old version .. I need latest version and I have…
1
vote
0 answers

Is there any error or problem in my dart code?

I am using Flutter and trying to fetch pdf first images from PDFs of phone's local storage using file_picker as a thumbnail and show the image on the screen. When I ran this code, everything work fine until FilePickerResult? result = await…
1
vote
1 answer

What is the difference between firebase_core and firebase_core_web packages for Flutter web?

I want to create a Flutter web project. I see two packages listed on the package page. What is the difference between the two? firebase_core and firebase_core_web
Brandon Pillay
  • 986
  • 1
  • 12
  • 28
1
vote
1 answer

Is it possible to set version constraints for git packages in flutter?

Our project structure is look like below: (b5df1cc) common -> package1 \ \ (56e0bc0) \ common -> package2 -----> myApp / (101aa16) / common -> package3 / myApp…
1
vote
3 answers

Dart: Relative import changing folder structure

I have flutter project with tree looks like ... ├── lib │   ├── UI │   │   ├── base_widget.dart │   │   ├── components │   │   │   ├── card.dart │   │   │   ├── centered_progressIndicator.dart │   │   │   ├── gradient_button.dart │   │   │   └──…
Johnykutty
  • 12,091
  • 13
  • 59
  • 100
0
votes
1 answer

Undefined name 'AttributionWidget' in Flutter_map package

Undefined name 'AttributionWidget'. Try correcting the name to one that is defined, or defining the name. expecting the app to display the map but it displays the error Undefined name 'AttributionWidget'. Try correcting the name to one that is…
Harsha
  • 1
0
votes
1 answer

How can I add topics / hashtags to my Dart / Flutter package on pub.dev?

I discovered on pub.dev that you can add topics / hashtags to your Dart / Flutter package on pub.dev. However, I couldn't find any documentation on how to add them to my own package. How can I add them to my own package?
Nils Reichardt
  • 3,195
  • 2
  • 18
  • 28
0
votes
1 answer

What is the difference between these packages?

I am looking at functionality for Dart/Flutter. Learning they do not have HTTP3/QUIC yet I have opted for WebRTC instead. I understand Dart is the language and Flutter is just a framework on top of the language but I am confused as there are two…
Currn Hyde
  • 57
  • 5
0
votes
1 answer

Intellij Idea is not recognizing the dart project correctly since using melos

I upgraded my project to be based on a multi-package architecture a few weeks ago. My primary pubspec.yaml contains path references to those feature or library packages. To be able to manage this mono-repo I recently introduced melos. Now I have the…
luckyhandler
  • 10,651
  • 3
  • 47
  • 64
0
votes
0 answers

How to uses packages for the flutter app in the dart server?

My project has 3 sub-project including dart_server flutter_app share The share project is about objects, config, and paths, ... which was used in the dart_server and flutter_app projects. In the share project. Some objects contain a package used…