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
196,774
questions
-1
votes
1
answer
62
views
Flutter bottomNavigationBar, how to make my customClipper to not occlude the body content [closed]
I've implemented this bottomNavigationBar using a custom clipper. The issue is with the scaffold body.
I wish the body content to be visible from this area of the bottomNavigationBar instead of being ...
0
votes
2
answers
1k
views
How to position a widget to the bottom of navigation bar in flutter?
I need to position a container of height 5.0 and infinity width in a bottom navigation bar item to the bottom of the bar. But there is a gap between the current position and the bottom navigation bar. ...
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 ...
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
2
answers
42
views
Generating apk by command "flutter build apk" in vs code
I want to generate apk in vs code by command flutter build apk, So :
I install Android Studio and Android SDK in path C:\Android_SDK.
I execute command flutter config --android-sdk "c:\...
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 ...
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 ...
6
votes
3
answers
9k
views
Bad State: Cannot add new events after calling close - Flutter Modular
I'm facing the following Error "Bad State: Cannot add new events after calling close" when I back to HomePage and Visit ProductsPage for the second time.
The first time the products load as ...
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
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 ...
-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
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 ...
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 ...
2
votes
1
answer
1k
views
Flutter - How I create PUBG Uc Purchasing App?
I Want to create an application where user can buy uc from my app and get it directly on their pubg account. How can I do this in flutter?
Is there any API for doing this?
Some Example What I want..
...
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
1
answer
19
views
How can I schedule OneSignal notifications programmatically from a Flutter app
I am developing a Flutter app where I want to schedule OneSignal notifications from the app itself based on some conditions related to the user, I was not able to find something useful in the ...
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, ...
3
votes
2
answers
4k
views
'Error: The class 'NavigatorObserver' can't be used as a mixin because it isn't a mixin class nor a mixin.'
I downloaded my code from FlutterFlow and I'm trying to run it. But it gives me this error
Error: The class 'NavigatorObserver' can't be used as a mixin because it isn't a mixin class nor a mixin.
...
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 ...
-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 ...
1
vote
1
answer
51
views
Make UI fit the screen in dart on mobile view
I am building a registration. I built the page and here is a sample code block from that:
class RegistrationPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return ...
0
votes
1
answer
23
views
run dart script from firestore cloud functions [duplicate]
I have a flutter application thats generate a pdf with flutter pdf package.
I want to automate the process of generating the exact pdfs every "month" for example. hence, thought of using the ...
19
votes
4
answers
24k
views
How to slide to new page on the right instead of the bottom in flutter?
The default flutter animation to transit a new page into the focus is to slide it up from the bottom. How do i change this behaviors and slide the new page in from the right or left instead?
...
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
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:...
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 ...
-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
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 ...
1
vote
2
answers
1k
views
flutter delete database without uninstall app
We are testing our app and only one sqlite version. Because we don't want to upgrade the db before go live. During testing, we release few stable version to production whether google will accept or ...
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
0
answers
11
views
Flutter video_player Shown Meaningless Video Images in Emulator But It Can Seen On Real Device
My flutter version 3.19. I use chewie: ^1.7.5 and video_player: ^2.8.3 for playing a video in FlutteBut, the Android emulator shows meaningless video images on the phone screen.
When I opened the ...
6
votes
4
answers
4k
views
Reactive redirection using go_router and flutter_bloc with Auth and UnAuth Flow
Implementing navigation based on auth changes using flutter_bloc and go_router.
What i need to do is at start if User is authenticated it should be redirected to HomeScreen with the ability to ...
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
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
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 ...
6
votes
5
answers
8k
views
How to prevent bottom sheet dismiss flutter
I want to prevent dismissing the bottom sheet on swipe down in flutter,
I want to use
Scaffold.of(context).showBottomSheet<void>((BuildContext context) => ...)
instead of ...
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
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
68
views
I'm working on chess game using Flutter, i have some difficulties creating a Function to see the valid moves for one of the pieces
I created a grid view and placed all the pieces that I wanted. Then, I moved on to create a function to calculate the valid moves for each piece. I completed most of the function, but I encountered a ...
-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 ...
-4
votes
4
answers
2k
views
how i import Image Folders in a Flutter Project
i am working on a Flutter Project and now i have the problem that i can´t use my image folder in the project, i know that i have to writte in the pubsec.yaml
flutter:
assets:
imageFolderName/...
0
votes
3
answers
36
views
My Flutter app is stuck on the splash screen
I was building a Flutter, & everything was running smoothly until today when I tried debugging with f5 + ctrl. The app launched but got stuck at the splash screen. I tried entering flutter run in ...
8
votes
3
answers
6k
views
Dart JsonSerializable with abstract class
I'm trying to generate my json helper functions for an object, that contains a list with the type of an abstract class, like this:
import 'package:json_annotation/json_annotation.dart';
import '...
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 ...