Questions tagged [flutter-plugin]

Use this tag for questions related to the creation or modification of plugins in flutter. For the use of, or issues with, plugins as dependencies, use [flutter-dependencies] instead.

Flutter plugins make the functionality of native code available to Flutter. This can be done through the use of platform channels.

See Developing plugin packages for more information.

492 questions
0
votes
1 answer

Is there, in flutter, a way of calling an init function in the plugin automatically on startup of an app?

Since this is a flutter plugin, I don't want developers depending on the plugin to have to init the plugin in anyway. Maybe they'll have to, but I'd really like for them not to have to. Basically, I want a way of calling the…
Emil Walser
  • 615
  • 2
  • 7
  • 14
0
votes
1 answer

In android/app/build.gradle - following errors occur: following errors occur, following errors occur, following errors occur! How to fix?

I am developing apps flutter, but an error has been occurring in all my projects, even if I have just started, the error is already there, they do not affect the compilation but I'm afraid they are future problems! Can someone help me correct? …
Will Lopes
  • 222
  • 1
  • 7
0
votes
1 answer

Flutter Cloud-functions: How can I configure it to call functions running on localhost

I am trying to remove all the hardcoded cloud functions url from my app so that I don't have to different config files for each environment. Since we use cloud functions as our backend, trying to use…
0
votes
1 answer

Writing NFC Card

I am using flutter to build my application to read and write the NFC cards I am using the flutter plugin NFC reader to read the cards but I couldn't find any way to write the NFC​ cards.
Sadaf
  • 11
  • 2
0
votes
1 answer

Some error with Flutter Plugin, about auto import

I'm using IDEA to develop Flutter programs. After my latest upgrade of the Flutter plug-in, the automatic prompt for the Flutter plug-in will go wrong. For example, when I type in Border, the plug-in will automatically prompt Border in all packages…
0
votes
1 answer

Flutter Plugin manifestPlaceholders error

I'm trying to create a plugin for flutter. My problem is that looks like flutter is not recognizing manifestPlaceholders for some reason (probably me doing something wrong). So I added this lines to my android/build.gradle file. android { …
nicowernli
  • 3,250
  • 22
  • 37
0
votes
2 answers

Flutter: Preview one or more images from the phone gallery?

I am using the camera plugin in flutter with a custom camera preview interface but I would want to include into the interface a list at the bottom of the screen a list of photos currently inside my photo gallery....Is there a plugin for flutter that…
0
votes
0 answers

How can I use the scope model to have my inherited widgets all persistent during bottom navigation bar using flutter?

I am learning new features about the flutter framework but what I am interested in right now is to know how I can keep my inherited widgets using the scope model to keep all my pages persistent during bottom navigation bar page navigation?
0
votes
4 answers

Flutter, android project runs into an error while compiling

Ran into build errors, migrated to android X, Changed the plugins ..................................... Running "flutter packages get" in prototype...                   1.4s Launching lib\main.dart on Redmi 5 Plus in debug…
rizu
  • 1,047
  • 1
  • 12
  • 21
0
votes
0 answers

Location Background Service

I want to make tracking run when the application exits or runs on the background service does the plugin already support? I have read this tutorial and I am still confused whether there are examples of projects here or is there a plugin for this?
Kurniawan
  • 41
  • 1
0
votes
0 answers

Cannot attach file using Flutter-Share plugin

I am using the following plugin to share files in my flutter app: [Flutter Share Plugin][1] Here's how I use it my code: new IconButton(icon: new Icon(FontAwesomeIcons.download, size: 35), onPressed: () { …
mcfred
  • 1,183
  • 2
  • 29
  • 68
0
votes
1 answer

Better path_provider

just wondering if there is any way to access files on the system. not just the directories provider by path_provider? seems like this should be part of core flutter, or at least a package. maybe most flutter apps don't require files from elsewhere…
thejacer87
  • 13
  • 1
  • 8
0
votes
2 answers

It's possible to create an offline app using flutter

I want to develop offline book reading app using flutter. There is any way in flutter so that user can access book offline.
0
votes
1 answer

inteceptor cannot use in Dio?

I follow the Doc, but get some error.
mengqiao hu
  • 183
  • 1
  • 2
  • 10
-1
votes
1 answer

A problem occurred evaluating project ':media_kit_libs_android_video'

FAILURE: Build failed with an exception. Where: Build file 'C:\Users\pc\AppData\Local\Pub\Cache\hosted\pub.dev\media_kit_libs_android_video-1.0.0\android\build.gradle' line: 68 What went wrong: A problem occurred evaluating project…
1 2 3
32
33