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

Error Connecting to Firestore: flutter, MissingPluginException

[ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method DocumentReference#setData on channel plugins.flutter.io/cloud_firestore) Future _createJob(BuildContext context)…
0
votes
1 answer

how to get path of internal downloads folder in flutter

I want to get Path of the internal download folder /storage/emulated/0/Download. what I have tried : This plugin. but it throws an error and in repo also suggested that : This plugin has lots of inconsistencies and should no longer be used. Feel…
Sandeep Sharma
  • 639
  • 2
  • 9
  • 34
0
votes
1 answer

Flutter: E/location_permissions: result object is null in Geolocator plugin

I am using Geolocator plugin in Flutter Project. I have added it Pubspecs.yaml file also added the permission in AndroidManifest file. Pubspecs.yaml dependencies: http: ^0.12.0 flutter: sdk: flutter shimmer: ^1.0.1 font_awesome_flutter:…
Roxx
  • 3,738
  • 20
  • 92
  • 155
0
votes
1 answer

How to get the activity inside a Flutter plugin?

I'm trying to develop a simple Flutter plugin for myself. Now I got stuck with getting the activity. It always says that my variable I'm using for storing the activity is null. Even setting my variable myActivity inside onAttachedToActivity does not…
Just A Question
  • 423
  • 6
  • 21
0
votes
2 answers

Cannot Share File Using Flutter Channel - Missing Plugin Exception

I created QR code generating app using flutter-darts. Everything is fine except sharing part. I used following code to share my generated png image. Future _captureAndSharePng() async { try { RenderRepaintBoundary boundary = …
nipun-kavishka
  • 842
  • 12
  • 21
0
votes
1 answer

Can't rename class in Flutter plugin

I created a new Flutter plugin project, Android Studio has generated a stub code for me. Generated classes were called Accountmanager and AccountmanagerPlugin... Of course, I couldn't agree with these names and renamed it to AccountManager and…
Denis Sologub
  • 7,277
  • 11
  • 56
  • 123
0
votes
1 answer

can we use multiple plugins of flutter from one Repo?

I am stuck at this point where I have multiple plugins that I have implemented for my new flutter App. But I want to place all these plugins in one repo and refer them as separate plugins My plugins are plugin_custom1 custom_plugin2 My repo is…
Krishna Manohar
  • 322
  • 1
  • 3
  • 14
0
votes
2 answers

Flutter android_alarm_manager doesn't load flutter_audio_query plugin for callback

I am working on a rather simple alarm app that uses android_alarm_manager to schedule the alarms and flutter_audio_query to gather information about the music I need to make things work. When the alarm goes off I need to have flutter_audio_query…
geisterfurz007
  • 5,292
  • 5
  • 33
  • 54
0
votes
1 answer

Flutter Plugin Development native vendored_frameworks file not found

I'm working on the flutter-webrtc plugin for iOS. Previously, the plugin use the prebuilt cocoapods dependency. But, in the WebRTC M80 Release Notes they state they are going to be deprecating the mobile libraries. To stay up to date with the latest…
Corey Cole
  • 2,262
  • 1
  • 26
  • 43
0
votes
1 answer

Website App is not Exiting after pressing mobile back button in flutter

I made the app having functionality in navigation bar.(Reload WebPage)(Back in the WebPage).(Forward of the Browsed Webpage.) Problem I am facing i want to exit the application it is not exiting with mobile back button.In emulator app is exiting but…
0
votes
2 answers

How to Access Provider with out Context in Flutter

I have a problem with the Flutter Provider pattern, I need to access Provides from Class where I don't have Context. Providers : import 'package:flutter/foundation.dart'; class TokenProvider with ChangeNotifier { TokenService tokenService =…
0
votes
0 answers

Embedding a Flutter SDK into an existing Android and IOS app

Imagine I have a big client, with a running app, with millions of users. This client asked me to provide him with an SDK / Plugin which he can install onto his app and use the functionality in his app. So I'm trying to figure out, whether I can…
KLTR
  • 1,263
  • 2
  • 14
  • 37
0
votes
1 answer

connectivityResult returns null in flutter app's startup?

I am using connectivity: ^0.4.6 plugin for checking the connectivity in the flutter app. My code is as below: Future main() async { StreamSubscription connectivitySubscription; ConnectivityResult _previousResult; …
afsal.an
  • 499
  • 2
  • 6
  • 13
0
votes
0 answers

Open a file in my flutter app from outside

I wanted to ask if anyone knows how to handle other apps when they press share, my flutter app appears there to open that file (like when you share a pdf on ios and appears whatsapp). Don't know if it's possible. Looking for ios way, for android we…
Juan Jose Rodrigo
  • 429
  • 2
  • 6
  • 14
0
votes
1 answer

Highlist highest value arc in donut chart in flutter

I am trying to display donut chart with the highest value highlighted with border or some style. By default flutter doesn't let me add styles to donut chart. I also tried circular chart but still no success.