Questions tagged [flutter-packages]

For questions about specific flutter packages. A package can contain dependencies (listed in the pubspec), Dart libraries, apps, resources, tests, images, and examples

462 questions
4
votes
1 answer

Flutter husky package for creating git hooks

I already have a pre-commit hook in my project, but I want to force all people in my project to use it. For that purpose, I want to write a flutter library for creating files in a flutter project directory(like a husky in js world)! All that I have…
no_fate
  • 1,625
  • 14
  • 22
4
votes
0 answers

Is it possible to compile a flutter package to import only the resulting binary in the project?

I'm new to flutter, I've been creating a few packages in flutter that would be imported in several other (flutter) project. This packages are independently versioned. My question is 'Is it possible to "compile" a flutter package (only dart code and…
3
votes
2 answers

Execution failed for task ':flutter_pdfview:verifyReleaseResources'. AAPT: error: resource android:attr/lStar not found

I am trying to build apk but it is not getting build as following error occurs i am using flutter_cached_pdfview: ^0.4.1 package FAILURE: Build failed with an exception. What went wrong: Execution failed for task…
3
votes
3 answers

Flutter iOS Build Error - framework image_picker not found

I have added v0.8.5 of image_picker library in my project. I have tried following things to solve the issue: Deleted podfile.lock & Pods folder from iOS Directory Deleted pubspec.lock file from Project Directory pod deintegrate flutter clean flutter…
3
votes
0 answers

The widget is not appearing up - Flutter

I'm using AdvancedPageTurn widget from advanced_page_turn package. I wrapped this widget inside the Scaffold body property. The widget is appearing on the simulator perfectly, but when I launch the application on the real device, that particular…
shakky
  • 434
  • 5
  • 20
3
votes
2 answers

How to use ReCaptcha in Flutter web

I need to set up a captcha for my Flutter web app, but all the packages that currently exist for captcha in Flutter do not support web. To solve this issue I first tried to render the ReCaptcha box inside dart using an IFrameElement and an…
3
votes
1 answer

How to add cursor For PinFieldAutoFill flutter

There is no cursor while entering OTP, How can add Cursor in pinFieldAutoFill. I am using the sms_autofill: ^1.2.5 package. PinFieldAutoFill( autofocus: true, …
3
votes
0 answers

Communicate between two (and more) Flutter applications using flutter_bluetooth_serial

I'm developing Flutter app for Android, where I want to exchange some data between few instances of my app on different devices via Bluetooth. I'm using flutter_bluetooth_serial package (this is the only package I found which supports Bluetooth…
LislaV
  • 57
  • 1
  • 5
3
votes
3 answers

Error: Type 'Geolocator' not found and 'Placemark' isn't a type

I am getting this error: Type 'Geolocator' not found and 'Placemark' isn't a type. Whenever I try to do flutter run, I get this error: lib/screens/register.dart:33:9: Error: Type 'Geolocator' not found. final Geolocator geolocator =…
Alok
  • 8,452
  • 13
  • 55
  • 93
3
votes
1 answer

Is it possible to send messages over UDP/TCP from flutter application to .NET application?

I am trying to figure out how to send data over UDP/TCP from my flutter application to my server which has .net applications which listen for UDP and TCP . I searched about it and I found that there is a package named web_socket_channel and I tried…
Code Runner
  • 868
  • 16
  • 27
3
votes
1 answer

Is it possible with a Flutter app to hand off a video playing in-app to an Apple or Samsung TV?

I am looking into using Flutter for a cross-platform app project, however I need functionality to hand off a video playing in-app to a TV – Apple TV, if user has an iPhone, and Samsung TV if on Android. It's similar to how the YouTube app can switch…
sixtysticks
  • 786
  • 1
  • 11
  • 20
3
votes
1 answer

Is there a downside for using flutter packages?

Does using many packages in one app effect performance or bundle size? I’m mostly familiar with web and trying to understand more about how it is when it comes to mobile apps.
user10622803
3
votes
1 answer

Granting permission using camera package pauses the debugger on an exception

I am using the camera package for a simple functionality. I am mostly following the example the package provided. When I open the camera widget page, the package automatically prompts to provide permission to the camera and microphone. After…
boomboxboy
  • 2,384
  • 5
  • 21
  • 33
3
votes
2 answers

Any Flutter Package that fetchs GoogleCredential Access Token

In Flutter(Dart) is there any package to get GoogleCredential Accesstoken (This below sample is for getting Access Token in Java) private static String getAccessToken() throws IOException { GoogleCredential googleCredential = GoogleCredential …
Ashok Varma
  • 3,489
  • 3
  • 28
  • 43
2
votes
1 answer

Flutter package error: This app is using a deprecated version of the Android embedding

I've created a new package but when I run flutter pub get this error: This app is using a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to migrate this app to the V2 embedding. Take…
JakesMD
  • 1,646
  • 2
  • 15
  • 35