200,501 questions
0
votes
0
answers
15
views
PlutoGrid cannot replace rows and rebuild the grid
Given this widget:
import 'package:cerebellum/const.dart';
import 'package:cerebellum/models/api/patientfinder.dart';
import 'package:cerebellum/models/api/patientfindrec.dart';
import 'package:...
Best practices
0
votes
4
replies
57
views
Is there any other ways to convert a MapEntry to Map?
I'm a beginner at Dart and I was doing a DSA problem to find the frequency of numbers in a list. And I have created a map with numbers as keys and frequencies of that number as its value. And then ...
1
vote
0
answers
36
views
Flutter vector_graphics_compiler transformer causes silent OOM / timeout in GitLab CI during flutter test
I have recently migrated a large Flutter project from flutter_svg to vector_graphics to improve rendering performance.
My project contains hundreds (if not thousands) of .svg files. I am using the ...
-1
votes
1
answer
58
views
Warning "Don't use 'BuildContext's across async gaps" [duplicate]
I'm having warning because I'm using BuildContext with async function.
void login(BuildContext context) async {
bool success = await controller.login(_passwordController.text);
if (success) {
...
0
votes
0
answers
68
views
How to stop background image flashing on setState
I have, in main.dart, a statefull widget. That widget has a container that uses a decorated image to have background in the whole screen.
I created a global BoxDecoration variable, this way:
Future&...
0
votes
1
answer
46
views
Android share intent opens target app inside Flutter app window instead of switching apps on new window (share plus)
I am working on a Flutter Android application and using share_plus to share text content with external apps like Telegram and WhatsApp.
Problem
When triggering the share action:
SharePlus.instance....
0
votes
1
answer
57
views
Using ShaderMask to blend a LinearGradient on text with a shadow produces a visible, slightly transparent border around the text widget
I am working on a widget manipulation concept to blend a LinearGradient on text that also has a shadow complementing the gradient's arrangement.
The only problem is that I noticed a faint transparent ...
1
vote
1
answer
83
views
Google Maps Flutter Advanced Markers and Map Styles
I have an app that uses google maps flutter and has 4 map styles that can be changed programmatically
ligth mode
light mode without Points of Interest
Dark mode
Dark mode without Points of ...
0
votes
1
answer
437
views
Flutter 3.44 warning: “app applies the Kotlin Gradle Plugin” after upgrade – how to migrate to Built-in Kotlin? [closed]
After upgrading to Flutter 3.44.0, I started getting Kotlin Gradle Plugin warnings when running my app.
Environment:
Flutter 3.44.0 (stable)
Dart 3.12.0
JDK 17
Android SDK 36.1.0
Windows 11
...
Advice
0
votes
0
replies
55
views
Advice on Dataset Choice for Two-Way Sign Language App in Flutter
I am developing a Flutter app called Talk to Deaf, which aims to enable real-time two-way communication between deaf and hearing users. The app will allow normal users to input text or voice and the ...
3
votes
1
answer
82
views
Flutter TypeAheadField overlay/shadow remains visible behind dialog on iOS
I am facing an issue on iOS with flutter_typeahead.
When I open a dialog (showDialog) while a TypeAheadField exists on the screen, I get a weird dark overlay/shadow/ghost UI behind the dialog.
This ...
Advice
0
votes
3
replies
99
views
Google Play Billing purchase fails in locally installed Flutter APK but works from Internal Testing
I am using Google Play Billing subscriptions in a Flutter app with the in_app_purchase package.
Issue
Subscriptions work correctly when the app is installed from Google Play Internal Testing.
However, ...
3
votes
1
answer
107
views
How to hide and disable Android navigation bar
I am developing a full screen app. To show it, I use this in `initState` method:
SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);
That way, bar is hidden, however, it get back when ...
Advice
0
votes
1
replies
75
views
How to handle scrolling while dragging in flutter web
I have few nested widgets
SingleChildScrollView(
child: GestureDetector(
child: MouseRegion(
child: CustomPainter
)));
I am building an application the needs something from ...
Advice
1
vote
2
replies
80
views
How to work with shared preferences inside a provider using flutter?
I am trying to learn how to use shared_preferences in Flutter without relying on setState or StatefulWidget. However, I am stuck on how to properly implement this.
I have two main questions:
What is ...
