Questions tagged [flutter]
Use this tag for questions about the Flutter cross-platform UI toolkit. If your question is platform-specific, tag the platform as well (e.g., [android], [ios], etc.). You may also wish to include the [dart] tag for coding questions.
flutter
178,637
questions
0
votes
0
answers
5
views
Riverpod - share data between providers
What's the canonical way to share data between two providers created with riverpod? In addition those two providers might only be very loosely connected logically speaking...
Let's assume we've got an ...
0
votes
0
answers
8
views
(OS Error: Permission denied, errno = 13) Flutter Error Only in Android 10
I keep get error like this when i run my app in android 10
Failed to ensure /storage/0DFE-330F/Android/data/my_app/files: java.lang.IllegalStateException: Failed to prepare /storage/0DFE-330F/Android/...
0
votes
1
answer
16
views
In flutter terminal when i try to run flutter pub get it is not working properly
The current Dart SDK version is 2.19.0-146.2.beta.
Because flutter_fire_base_2 requires SDK version >=3.4.3 <4.0.0, version solving failed.
Running "flutter pub get" in ...
0
votes
0
answers
20
views
Flutter app only runs from Terminal and does not print to Console After upgrade
I upgraded a flutter app to the latest SDK version 3.22 & installed a fresh Android Studio Koala | 2024.1.1 Patch 1 and I have managed to eliminate all errors.
If I run the app from Android ...
-1
votes
0
answers
10
views
Flutter : cache is not storing in in_app_webview in IOS
In my Flutter application, I am using a WebView to display a game called Word Scrambler. The game includes a timer, but on iOS, the timer restarts when the application is closed and reopened because ...
0
votes
1
answer
15
views
Flutter firebase auth gives error "The provider has already been linked to the user"
I have implemented firebase auth with google and twitter. Now first time when I do login with twitter with my email id - [email protected] then the sign in is successful and I am able to see my email ...
0
votes
1
answer
25
views
Transforming CameraImage to bitmap in Flutter
We are currently capturing camera images in Flutter as CameraImages in the YUV_420_888 format. Our goal is to convert these images into a format that can be used with BitmapFactory in Kotlin to ...
1
vote
2
answers
22
views
How to extract from a column or row, an list of their widgets?
I have a column, is it possible to extract from it the list of children that are in this widget?
final listWidget = [];
listWidget.add(
Column(children: [
SizedBox(),
...
1
vote
0
answers
31
views
How can i build a Flutter comment widget that switches between IconButton and TextField with smooth a transition?
In Flutter, I have built a carousel PageView for a list of widgets (media files). I want a seamless way to add comments to the currentPage widget. I don't want a TextField permanently attached at the ...
0
votes
1
answer
25
views
Can't Install Flutter on Windows
I'm trying to install Flutter using VS code and it shows this error:
What happened:
Firstly, I had Flutter installed and worked fine. All projects build fine, and everything is going well. I tried to ...
0
votes
1
answer
16
views
can't SignUp user in flutter firebase: firebase_auth/channel-error
I am trying to sign up a user using firebase but instead i am getting firebase channel error
following is the code
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_core/...
0
votes
1
answer
21
views
How to generate methods in `PerFieldToJson` using `json_serializable`?
Minimum reproducible code:
// foo.dart
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:cloud_firestore_odm/cloud_firestore_odm.dart';
import 'package:json_annotation/...
0
votes
0
answers
8
views
firebaseBackgroundMessage not working in Android Flutter
The background notifications are not working in flutter applications. Everything is fine in the virtual and physical emulator but not when installing release version.
I tried everything. From ...
0
votes
1
answer
18
views
Flutter Web not Showing error Message Correctly
This is my Flutter app.
void main() {
Future.delayed(Duration.zero, () {
throw "boom";
});
runApp(MaterialApp(home: Scaffold(body: Center(child: Text("Hello")))));
}
...
0
votes
1
answer
19
views
Excluding Vulkan validation library from Android debug build that uses Flutter
We've recently upgraded to Flutter 3.22.1 and I noticed that our debug build apks have increased by over 240M. There is a shared library in the apk called:
libVkLayer_khronos_validation.so
This ...