Questions tagged [dart]
Dart is a class-based, statically(& strongly)-typed programming language for building web and mobile applications. Dart compiles to modern JavaScript to run in the browser and compiles to native code to run on mobile platforms like Android and iOS. Dart also runs on the command-line for scripting and server-side apps.
94,524
questions
0
votes
0
answers
3
views
Flutter Material Dynamic Colors doesn't render elevation properly
I'm starting with Flutter and Material You dynamic colors. After setting up the example app, I tried using the dynamic color from my device. But instead of correctly rendering background and elevated ...
0
votes
0
answers
7
views
Flutter android crashes the app after adding permissions
I am designing the music player application as android.
I added some parts of the app and moved on to adding permissions.
after placing app permissions my android app started crashing.
home.dart:
...
0
votes
1
answer
12
views
StateFul Widget Not Rebuilding When Calling ValidateEvent with TextField onchange function flutter_bloc
I have a textfield with an onchnaged function which calls the validate service then returns the value to the widget.
i used print values to debug the code just to make sure everything was working fine....
0
votes
1
answer
20
views
problems with extracting face pixels from the image
I need to pass the image that comes from the camera through a model with tensorflow, in the _extractFacePixels function the image gets there but the originalImage comes out as null
// Verificar se ...
0
votes
0
answers
10
views
Failed to Resolve Kotlin JVM Plugin Version 1.7.1 in Flutter Project with Gradle implementing stripe
I'm working on a Flutter project and encountered a build failure related to the Kotlin JVM plugin when trying to build my app. Here is the error message I received:
FAILURE: Build failed with an ...
3
votes
1
answer
24
views
How to enforce error on impossible equality check?
There is a linter to it https://dart.dev/tools/linter-rules/unrelated_type_equality_checks but it just shows a warning, rendering it almost useless for large projects.
How to convert the warning into ...
0
votes
1
answer
12
views
Dial USSD service dial from a flutter app
I have a flutter app that needs to dial a ussd service with one sequence like :
*150*1*{secret}*1*{amount}*{gsmNumber}*{gsmNumber}#
I already tried all the packages from flutter none of them working ...
-3
votes
0
answers
22
views
Flutter Schedule Notification [closed]
I need to send scheduled push-notifications in my flutter app but it has a problem:
notification sends but not receives or the app terminates.
Maybe, somebody has a good tutorial?
0
votes
0
answers
10
views
How to remove minify from flutter web URL (https://energymaxapp.com/webapp/minified:lM)
So, I have published an webapp with flutter and it is behaving strange when I am releasing it. In local host it is working completely fine with proper URL structure.
It is showing this kind of URL - ...
-3
votes
0
answers
29
views
Stop Wheel of Fortune at a specific sector in Flutter
Using flutter_fortune_wheel package at [https://pub.dev/packages/flutter_fortune_wheel][1]
[1]: https://pub.dev/packages/flutter_fortune_wheel I am developing a Wheel of Fortune app. I need to stop ...
0
votes
0
answers
15
views
My flutter login Page gives this error, Null check operator used on a null value See also: https:/'flutter.dev/ docs/testing/errors
I am developing a PLant Disease Detection app using Flutter, and despite my best efforts, I encountered an unexpected error. I am creating a login page for my disease detection app, below is my code. ...
0
votes
0
answers
15
views
I'm developing a Flutter web app where I need to load content from a private URL (HTTPS) that requires specific trust anchors
I have implemented WebView in my Flutter app to load content from a private HTTPS URL. However, in both cases, I encounter a trust anchor issue. The specific error message I receive is: `
I/...
0
votes
1
answer
23
views
flutter bloc delays to rebuild BlocConsumer after emit
I have noticed that the bloc/cubit delays to rebuild after emit to to a new state
for example in my code.
I expect for the bloc/cubit to change the state and refresh the blocConsumer with no delay.
...
-1
votes
0
answers
11
views
Flutter APK Android Tries to Open With using other apps
I created flutter apk with "flutter build apk" it creates apk with no problem and I send it through whatsapp to myself but it tries to open my app with other app. Phone shows the pop-up to ...
0
votes
0
answers
25
views
How to Take a Screenshot of a Full ListView in Flutter
I am working on a Flutter application where I need to capture a screenshot of a ListView that might have many items, possibly requiring scrolling. My goal is to take a screenshot of the entire list, ...