Questions tagged [flutter-dependencies]
For questions relating to the use of and issues with any use of flutter-specific dependencies in dart's pubspec.yaml
5,827
questions
0
votes
0
answers
9
views
Experiencing error <asynchronous suspension> in project
Future<void> shareFile() async {
await getImage();
Directory? directory = await getExternalStorageDirectory();
print('${directory!.path} / ${_image!.path}');
await WhatsappShare....
-1
votes
3
answers
33
views
Color changing circle container [closed]
I have implemented elevated buttons and a circle container but I am not able to change the colors in circle while pressing the elevated buttons .I have created 4 buttons consist of red ,green ,blue ...
-1
votes
0
answers
11
views
rror when compiling and in flutter pub upgrade and pub outdated
I am creating an application in flutter and everything was going well, but at the moment it started giving me an error. It won't let me compile and flutter pub upgrade and flutter pub outdated don't ...
0
votes
0
answers
18
views
How to solve GoogleFontsFile file, Uint8List bytes error
When i install the google fonts package and i import it, i run the code but i get a particular error that make me to be confuse.
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/google_fonts-4.0.3/...
-2
votes
0
answers
24
views
Cartoonise image in Flutter
it is possible so please send the code
Cartoonise image in Flutter
Allow users to upload an image from camera or photo gallery. Convert this image into a cartoon version of the same image. Show ...
0
votes
1
answer
29
views
Couldn't find the correct provider above this widget
I have a problem using Flutter Provider...
After Onbording screens I click to Next Button and needs to show me Welcome Screen (where i choose to log in with phone number)
But after clicking to Next ...
0
votes
0
answers
18
views
Execution failed for task ':app:checkDebugDuplicateClasses' while working with opencv
I'm working on a document scanner app, first I added this plugin and everything worked fine until I decided to add some filters with OpenCV. I installed this other plugin plugin to handle the image ...
0
votes
1
answer
31
views
Flutter upgrade
After upgrading Flutter, and when i create a new project i'm getting + lines :
Creating project prgh...
Running "flutter pub get" in prgh...
Resolving dependencies in prgh... (1.6s)
+ async ...
0
votes
0
answers
14
views
Jitsi Meeting In Android Api Level 33
I implement
jitsi_meet: ^4.0.0
in flutter.Its working fine in android and Ios both.But when i run into Android Api level 33,Application crash.Here is the error:
Targeting S+ (version 31 and above) ...
0
votes
0
answers
8
views
Showing error when finding near by device in bluetooth using "esc_pos_bluetooth" in flutter
Showing this error when running in esc_pos_bluetooth in flutter i added permission in manifest page but still same error.
> I/flutter (26677): Error starting scan. E/flutter (26677): [ERROR:flutter/...
0
votes
1
answer
27
views
smooth_compass show the default compass image for a second in flutter
I am adding a compass to my flutter project and I usedthis package. but when I changed the compass image to my own, it shows the default image for a second.
here is my code
SmoothCompass(
...
0
votes
0
answers
12
views
how can i put plutogrid into columns
when I put PlutoGrid into column it duplicated
I have tried ListView and stack and Everytime it duplicate
0
votes
0
answers
6
views
pod conflicting on flutter with this package video_editor
[!] The 'Pods-Runner' target has frameworks with conflicting names: ffmpegkit.xcframework, libavcodec.xcframework, libavdevice.xcframework, libavfilter.xcframework, libavformat.xcframework, libavutil....
-1
votes
2
answers
46
views
Unique device id in flutter
I want to get a device id or any unique number that can not be changed when someone uninstalls the app. This device is for both android and iOS and is in the flutter framework. I want this to manage ...
0
votes
0
answers
17
views
Dyanamic regeneration of GeneratedPluginRegistrant not happening after adding or removing dependency
Whenever I try to add a dependency in pubspec.yaml in my flutter project and pubget the dynamic registration of plugins in file GeneratedPluginRegistrant.java is not happening.
Below is file ...
0
votes
0
answers
16
views
Flutter auto_route import as prefix not generated well
I have a class page route AppointmentCreatePage which required a parameter from a class model , but I define this import model as a prefix
AppointmentCreatePage class
import 'package:project_mobile/...
0
votes
0
answers
25
views
flutter Share_plus dosenot show .vcf file contacts option Android
I'm trying to share the .vcf file using the share_plus package in flutter but it doesn't show the option to share to contact book like in IOS shows the contact option.
0
votes
0
answers
35
views
how to show api call data in mention in flutter
String string = "";
Map<String, dynamic> jsonMap = {};
List<Map<String, dynamic>> data = [];
class Mentions extends StatefulWidget {
const Mentions({
Key? key,
...
0
votes
0
answers
47
views
Local notification is not working for android version 12 and above in flutter
Plugin used: awesome_notification
This is my code for creating the local notification.
It is working fine up to android version 11, but after 12 version both the basic and schedule channel ...
0
votes
0
answers
13
views
Printing on CS30 Bluetooth Printer with Flutter
I have a CS30 gadget which comes attached to a bluetooth printer and NFC. I have coded everything I can in flutter but I still can't connect to the printer. I have tried several libraries, amongst ...
0
votes
1
answer
23
views
Show list of all videos from internal storage
list all video files from a specific folder from internal storage and display them in flutter.
i want to create an app to list all videos in internal storage and show them in gridview and play that ...
1
vote
0
answers
14
views
Error: Couldn't find constructor 'TypeMatcher'. .ancestorStateOfType(const TypeMatcher<AnimatedCircularChartState>());
i even done that but errors are still there. i tried to downgrade the flutter version sdk to that project but didn't find the specific version and the ones i found are not helping.
/C:/src/flutter/....
2
votes
2
answers
41
views
Getx flutter change theme when i change theme dark and then return light mode its not loading my custom theme
Getx flutter when i change theme from light to dark mode and then return to light mode its not returning my custom theme its load old app bar background even theme changes
ThemeData lightTheme = ...
0
votes
0
answers
17
views
FirebaseAppPlatform.verifyExtends not found
While running the flutter app for first time I am getting this error.
Member not found: 'FirebaseAppPlatform.verifyExtends'.
FirebaseAppPlatform.verifyExtends(_delegate);
I tried to override the ...
0
votes
0
answers
26
views
Upload file to AWS s3 without backend only flutter
I'm trying to upload a video on s3 but nothing works.
Moreover, we can do it using the native code of iOS and Android and connect it using the flutter channel. But It seems too expensive in terms of ...
-1
votes
2
answers
29
views
How to create animated pageview in flutter?
enter image description here
How to create curve page animation page view in flutter
0
votes
0
answers
23
views
- How to fix it : Incorrect use of ParentDataWidget and Every child of a RenderCustomMultiChildLayoutBox must have an ID in its parent data.?
I am getting Error Incorrect use of ParentDataWidget.
And the Datatable not show the item in first time.
Usually, this means that the Expanded widget has the wrong ancestor RenderObjectWidget. ...
-3
votes
1
answer
28
views
How to convert a pdf file (composed of different images) to list of images in flutter?
I am developeing a PDF converter flutter app it converts images into pdf file. I want to expand it so that it should take pdf file and convert it into list of images so that i can rearrange order of ...
0
votes
0
answers
11
views
The android permission BLUETOOTH_SCAN not working in android 12 in flutter
when I running the my project showing this error
`D/BluetoothAdapter(25841): isLeEnabled(): ON
I/flutter (25841): Error starting scan.
E/flutter (25841): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] ...
0
votes
1
answer
16
views
how to flutter bottomsheet from top,just like in this picture
[enter image description heenter image description herere](https://i.stack.imgur.com/XX9iq.jpg)
0
votes
0
answers
17
views
I have integrated google dialog flow with my flutter project it is responding when running it as desktop app, but not responding as mob app (apk file)
I am developing a chat bot app in which i have used google dialog flow platform and integrated it to my flutter project, it is working and responding normally when running it on desktop but when i m ...
0
votes
2
answers
33
views
How to declare String and List in the current version of flutter?
In the tutorial, String categoryTitle; and List displayedMeals; were working fine. In the current version of flutter it won't allow me to just declare as it is. What should I initialize them to? It ...
0
votes
0
answers
12
views
How to bump pref package to version 2.7.1 (needs Flutter 3.7.0) while I'm on the latest Flutter beta channel 3.7.0-1.5.pre?
I'm on the Flutter beta channel, the latest 3.7.0-1.5.pre version. I received a Dependabot PR about bumping the pref package's version to 2.7.1 (from 2.7.0), see https://github.com/...
0
votes
1
answer
33
views
How to change the name of package apk installer in flutter?
I change my app name from AndroidManifest.xml
but I want change name of package installer.
How can I change "app-release" to anything I want?
How to change app-release?
I change my app name ...
0
votes
0
answers
19
views
Azure Devops Pipeline Integration for iOS Error Flutter Application: (xcodebuild failed with return code: 65)
I am trying to create a ci/cd pipeline for flutter iOS. I am expecting an signed .ipa file.
Note: locally on mac machine able to create.ipa.
I am getting error in Xcode@5 task, when trying to sign.
I ...
0
votes
0
answers
14
views
In Flutter the sub-menu items of a particular menu appears beside to the menu that is below of it when clicking
I am using a Flutter Package named multilevel_drawer where the sub menu items of a particular menu appears beside to the menu below of it as shown below.
The sub-menu of My Account menu comes beside ...
0
votes
1
answer
31
views
FAILURE: Build failed with an exception Where: Script 'C:\scr\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1256
Hello fellow Flutter developers,
I am currently facing a problem with building my Flutter app and I desperately need your help. The error message I am receiving is: "FAILURE: Build failed with an ...
0
votes
2
answers
47
views
Flutter responsive class
I have two designs, the first for mobile devices and the second for iPad. I built a class to do that.
My question is: does this class serve the purpose or need to be modified? Does the iPad size start ...
0
votes
0
answers
18
views
Flutter, image_crop scale, resolution, size, quality issue
I`m using this package https://pub.dev/packages/image_crop
I want to upload a 4000x4000 quality picture to the server after converting it to 1080.
Firstly, I do the below
final pickedFile = await ...
0
votes
0
answers
15
views
MissingPluginException (MissingPluginException(No implementation found for method getDatabasesPath on channel com.tekartik.sqflite))
So this error always show up. Any solution ??
MissingPluginException (MissingPluginException(No implementation found for method getDatabasesPath on channel com.tekartik.sqflite))
i have tried flutter ...
0
votes
0
answers
14
views
Flutter xml to json with error on RssFeed.fromJson and Text(item?.title)
I'm trying to read an rss feed http://www.tusciaweb.eu/feed/
But I have this error in the code that I can't resolve
lib/news.dart:27:22: Error: Member not found: 'RssFeed.fromJson'.
return RssFeed....
0
votes
0
answers
42
views
Webview with pull down refresh
I'm starting in Flutter and I don't know how to refresh the Webview with the scroll down.
This is my current code. The Webview is displayed normally, but the scroll down doesn't refresh.
I already ...
0
votes
1
answer
30
views
The following _TypeError was thrown building RegisterScreen() : type 'String' is not a subtype of type 'int' of 'index'
String? _selectedCity;
List cities = ['Select City'];
@override
void initState() {
super.initState();
_secureText = true;
_getCities();
}
Future _getCities() async {
var url =...
0
votes
1
answer
39
views
embedding .dylibs and unix executable in a Flutter desktop app for Mac OS
I'd like to build a Mac OS application that embeds a "unix executable file" and it's .dylibs, but i don't know how to sign them so that the mac allows the user to execute the flutter app.
...
0
votes
1
answer
28
views
Flutter Dart how to get data from Sqflite and wait for it then display it
I am trying to get List of 'tasks' from the database
I am getting the data via the onOpen() of the openDatabase function, and I store the data in a List in another dart file named constants.dart that ...
0
votes
1
answer
20
views
can't open launchUrl telegram to join group/channel
I have a Icon button. Using url_launcher: ^6.1.8 package. My goal is when user will tap on the button user will be redirected to telegram and will get a opion for joining the channel. but I am facing ...
-1
votes
0
answers
32
views
Flutter example project from version control [duplicate]
I am new with flutter project and am trying to link a new project from version control. But I can't able to run the project due to dart configuration issue as shown in the image. Anybody knows hoe ...
-1
votes
3
answers
63
views
How to make this design
I want to make this design in flutter I have tried in row, but it's going to overflow. So, you
can help me to make this using any another way!
0
votes
1
answer
16
views
What's wrong with this code.When I clean the flutter dependencies and run flutter pub get then I got this error. What I have to do to fixed this error
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.bpls">
<uses-permission android:name="android.permission.INTERNET"/&...
0
votes
2
answers
28
views
while uploading image to firebase, this one error is always comes whatever i do
what went wrong? even if i replace the XFile into File, same error comes at this putFile.