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
176,055
questions
0
votes
0
answers
4
views
Firestore data not saving: receiving error upon clicking save button
/TrafficStats(31499): tagSocket(3) with statsTag=0xffffffff, statsUid=-1
W/Firestore(31499): (24.11.0) [WriteStream]: (a60a66d) Stream closed with status: Status{code=UNAVAILABLE, description=Channel ...
0
votes
0
answers
4
views
If I have a network image path, I want to upload to firebase storage. How can I upload image by image url?
I want to upload the network image path to the storage. The image URL like https://firebasestorage.googleapis.com/v0/b/elderlyapp-b7344.appspot.com/o/MedImages%2FJkgWeoMvT1gYoa0YnBvxQU6qPef1_2024-04-...
0
votes
0
answers
6
views
Why my Flutter WebView app is running on lower frame rate than a regular browser?
I have made a WebView app for my simple and light local website. It feels very fast and responsive on a regular mobile browser app (Firefox, Chrome, Edge and etc..). But on my Flutter WebView app, it ...
1
vote
0
answers
7
views
I can't use Flutter_session when i add it to dependencies
I want to use the function about FlutterSession().set() & FlutterSession().get().
flutter clean
flutter pub get
flutter pub get
I can't use the flutter session method. Or flutter has other ways ...
1
vote
0
answers
10
views
Why is my Search in my Input not working properly?
I'm having trouble making a search input on my app, the deal is that when I search for instance
'Rosa' works fine, but when I write a mistake 'Roso', erase 'Ros' doesn't seems to work, not even if I ...
1
vote
0
answers
10
views
Prevent Flutter Background image from resizing when keyboard pops on pushed screen in CupertinoTabScaffold
I know that this question popped up many times regarding the general app scaffold:
Flutter: Background image is squeezing when keyboard appears (suggesting to set the resizeToAvoidBottomInset: false ...
0
votes
0
answers
12
views
Dart build_runner not building
I'm getting error when I running dart run build_runner build command also with --delete-conflicting-outputs.
I can't remember which actions I doing before that error. But I don't added new packages ...
0
votes
0
answers
11
views
Joystick & Jump Button are hidden by game scene. Priority doesn't work
I'm adding a joystick and other HUD buttons to the game with the highest priority but they are always hidden by the game scene once it is loaded. I ensured them to be added after adding the scene, but ...
0
votes
1
answer
21
views
Flutter + Dart: Editing name of a tab shows up a black screen
hope you are all doing well :)
I'm having a bit of a problem with my Dart app. The app is a to-do list creator where the user can create several lists and add items to each one of them.
With this in ...
0
votes
0
answers
14
views
The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
I'm developing an Android app with flutter and Dart, but everytime I try to run the app, or build It, It returns me the same erro:
e: /home/ju-bei/.gradle/caches/modules-2/files-2.1/org.jetbrains....
0
votes
0
answers
8
views
Way to get CustomPainter to track face in Camera Flutter MLKit
I am trying to track a users face in Flutter and draw a green rectangle over this using CustomPainter. This is the FacePainter which I used. The issue I am having is, it takes one picture at the start ...
0
votes
1
answer
20
views
flutter Null check error: did not show file and line number [closed]
Flutter ran into error:
════════ Exception caught by widgets library ═══════════════════════════════════
Null check operator used on a null value
The relevant error-causing widget was:
In Visual ...
-1
votes
1
answer
17
views
Creating multiple instances of a class with different initializing values in Flutter
I am using this package and creating two instances of its class PixelMatching which uses dart ffi and some c++ code to perform feature matching using open cv. I initialise the two instances with ...
0
votes
0
answers
6
views
I want to paste stickers into to my TextField and to show the stickers beside the emojis
On one hand, I desire the ability to paste stickers into my TextField. While images are already functional, when attempting to copy an image from my pictures and convert it into a sticker, I do not ...
0
votes
0
answers
7
views
Flutter plugin development android src not opening after opening example
i am trying to make a flutter plugin for the first time i i ran into a problem.
I followed this tutorial to set the project up, i opened the /example/android/build.gradle file in android studio and it ...
0
votes
0
answers
10
views
Module not found when building flutter app for IOS
So I'm having a problem when building my Flutter app in release mode for flutter.
When I build my Flutter app in debug mode it works fine and I can use my app in any emulator without any problem. But ...
0
votes
1
answer
21
views
How to make barrier area interactive in flutter modal bottom sheet
I want to open a modalBottomSheet but also be able to interact with the map above which is the barrier area. How can I achieve that?
0
votes
0
answers
9
views
Can an RPC result be included in a Supabase select function in Flutter for Data Modeling?
In my Flutter Web Application, I have the following created tables for an address in Supabase:
-- Table for Region
CREATE TABLE regions (
id SERIAL PRIMARY KEY,
region_name TEXT NOT NULL
);
--...
0
votes
1
answer
23
views
Why do I need to wait to reaccess to Firestore database even though it has already done before?
In my Flutter app, there is a custom drawer that is accessed through a button. In this drawer, there is a widget (InfoCard) which displays some of the user's information. However, in this widget, ...
0
votes
0
answers
10
views
Flutter web app on Windows -how to support mouse drag for horizontal and vertical scrolling as well as using mouse wheel
With a Flutter web app running on Windows 10, the default option for enacting scrolling is via the mouse wheel.
Is it possible to set up additional options for scrolling, like a mouse drag down action ...
0
votes
0
answers
28
views
I wrote this time displaying FLUTTER app, How can I improve it?
I'm developing a clock widget in Flutter that displays the current time. I want to provide two methods for updating the time asynchronously: one using a continuous stream of time updates, and the ...
0
votes
0
answers
12
views
Appwrite and / or Spring Boot Backend
I am developing mobile Apps in Flutter. Right now I was using Spring Boot for backend services like User Authentication, Data Storage and so on.
But now I had a look to appwrite as a backend ...
0
votes
1
answer
11
views
Flutter two_dimensional_scrollables Web app Chrome - cannot get horizontal scroll to work?
I have a Flutter app where I am using the two_dimensional_scrollables TableView widget to display a complex spreadsheet style display.
For the Flutter web app, running this in Chrome on Windows 10 I ...
0
votes
1
answer
18
views
How to have control over height of container when container inside expanded
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home:...
-3
votes
0
answers
19
views
How To Make A Barcode Scanner In Flutter? [closed]
So this is no easy barcode scanner I want it to recognize which country it is from. can someone explain to me how can I do this??
I made a barcode scanner I only need to know how to get it to ...
0
votes
0
answers
14
views
Firebase storage : How to load images faster in flutter [duplicate]
I am trying to fetch lots of images from firebase storage and display it in my flutter app but I am facing speed issues. It is taking a lot of time for the images to load. Also once the images are ...
0
votes
1
answer
30
views
How Do I Create A Path In The pubspec.yaml File?
While building an App, I came across an error:
I'm guessing the error was saying I needed to update the location package in order to use it. While researching how to update the package, I came across ...
0
votes
0
answers
11
views
Flutter Unhandled Exception: Connection Time Out
I've got this error on my flutter client ( registration page )
It is a registration page and the backend is on php. But the Connection timed out error is showing. I've done lot of things from the ...
-1
votes
1
answer
21
views
Render emoji flags on windows
I've tried to render emoji flags such as notoColorEmoji 🇫🇷 (french flag) using google fonts, but for some reason they don't get rendered at all.
It works fine for other monochromatic fonts, but I ...
0
votes
0
answers
29
views
Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
How I can fix this,
all that occurs when I installed the firebase package
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':cloud_firestore:generateDebugRFile'.
&...
0
votes
0
answers
14
views
The copy/paste functionalities don't work only on iOS in the Flutter app
I am using reactive_forms for handling user input in my flutter project. Once double click ReactiveTextField copy/paste functionalities don't work only on iOS (working on android). What is the ...
0
votes
1
answer
18
views
In my Flutter Project, I want to customize the font of a text, but it doesn't work
This is the pubspec.yaml. I defined the fonts that I am going to use and I copied the font file to fonts directory of my android project.
name: your_flutter_app
description: A new Flutter project
...
0
votes
1
answer
16
views
Deploy Flutter and Laravel php mobile app on the host server
currently I doing a mobile app using flutter as frontend and laravel php as backend, usually i need to serve and open xampp to use the local api and database, so what if I dont want locally anymore, ...
0
votes
0
answers
18
views
'New messages' separator like WhatsApp
I need to make a separator for new events in my ListView.
ListView:
return Expanded(
child: ListView(
physics: const AlwaysScrollableScrollPhysics(),
key: ValueKey(...
0
votes
0
answers
9
views
While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
Flutter CI CD Pipeline Using Github Actions.
When running
xcodebuild -workspace Runner.xcworkspace -scheme Runner -configuration "Release-staging" DEVELOPMENT_TEAM=XXXXXXXX -sdk 'iphoneos' -...
0
votes
0
answers
11
views
Does flutter wasm support native module import?
I'm trying to use Android Native Module on Flutter web(by WASM), and create Android module and imported on flutter app.
It works on Android app but not on browser.
android/app/src/main/kotlin/com/...
0
votes
0
answers
18
views
Kotlin Version Error in Integration of Firebase
I have a problem with integrating Firebase into my Flutter project. As soon as I add the firebase_core in my project in the pubspec.yaml file, I get two errors. One of them is multidex support which ...
2
votes
0
answers
16
views
Adding new package in a flutter project does not work untill the android studio is restarted
I am facing this problem for a while now. When i add a library or package in a flutter project and then run
flutter pub get
But when i import that package, it is not available (as if it is not ...
0
votes
0
answers
14
views
How to implement pagination on the custom dropdown item's in flutter
I have been working on a project where I am calling getProductList API which can have hundreds or thousands on data, I choose to use pagination (infinite_scroll_pagination: ^4.0.0). I tried apply it ...
0
votes
0
answers
15
views
How to create a listTile from a class in Flutter based on an collected id from the previous page
Please I am very new to flutter. I am working on a project and i got stuck in the implementation. I was wondering if you can help out. I am creating an audiobook. It converts pdf to audiofiles. I ...
0
votes
5
answers
39
views
Text Color didn't change
I try to use FocusNode() in TextFormField so it will detect when I focus on the TextFormField, the text above will have it's color changed. But it seems not working, what seems to be the problem?
...
0
votes
1
answer
18
views
I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Please, any help would be appreciated and googling doesn't seem to be producing any proper solutions here. What confuses me even more is that this error now appears even when trying to run apps with ...
0
votes
0
answers
17
views
Issue with Loading Images in Flutter FragmentShader and GLSL Code
I encountered a roadblock while editing GLSL code for an image filtering app I'm developing.
The code runs without any errors, but there seems to be an issue with the image rendering process.
Instead ...
0
votes
1
answer
26
views
How to change the return type of memoizer?
I want to change the return type of memoizer to Future<List<MyModel>> However, I can't seem to find a way to change it. It always return as Future<dynamic>
Here's my code:
final ...
0
votes
1
answer
17
views
What is the difference between `context.watch` and `context.select` in flutter_bloc?
I’m interested in understanding the distinctions between context.watch and context.select in the context of blocs. Can you provide insights into when it is more appropriate to utilize watch and when ...
0
votes
0
answers
8
views
patrol does not run the tests when using --release flag
I have patrol running fine when performing the tests on debug:
# this comes from a makefile command I wrote:
patrol test --target integration_test/$(test_path) --dart-define="MODE=test" --...
0
votes
1
answer
30
views
Dropdown Values not change in Flutter Modal
I have this Dropdown Widget in a Modal and I cannot Change the Value in the Widget while I'm using setState and everytime I change the value, I should close the Modal and then the Value is Changed.
...
-3
votes
2
answers
42
views
how to draw this curve on bottom navigation
how to draw this curve on bottom navigation using flutter I don know to how make it with flutter I know to make bottom navigation bar but this curve no idea I hope some advise there is the image I ...
0
votes
0
answers
31
views
chatbot respond to onequery type
i implemented chatbot in dart ... my issue which is i have many lists like greeting list , bye list and so on
when the use enter the question , the response will be only for the longest key
for ...
1
vote
0
answers
23
views
Flutter connection to a local api
m hosting a c# api locally on my machine , while trying to connect to it from my flutter app i kept getting a timeout . This is not my first time trying to connect to a local api so i know that i have ...