Category "flutter"

How to set up navigation to a specific page base on FirebaseAuth State?

I want to create an authorization check to display different screens depending on whether the user is logged in. When the user is logged in, then HomeScreen ()

Dart 2.17 has warning when using code snipplet

I just update dart sdk to 2.17 and when I use snipplet (in VScode) to auto generate code for Stateless/Stateful it auto import these two package. But it tel

flutter TextField with auto textDirection

I want to use TextField in the Flutter to enter two languages (one of them is RTL and the other is LTR) so that one language is entered in each line. How can th

No result from hyperpay after integration

I'm trying to integrate with HyperPay for payment . I'm using there demo for test . This is the demo demoUrl And I got this response payment_statusData: {resul

Can't find main.dart as entrypoint, how to connect Android project to the main.dart file?

Please don't mark as a duplicate. I have tried to read this Flutter : Target file "lib/main.dart" not found but I have found no answer, because what I ask will

Show nested JSON from API in single Page with multiple lists

Im new in Flutter and i'm struggeling with a nested JSON from API which data i want to show in one single page. I get this JSON from a URL and decode it in a cl

Is there a material TimerPicker widget in Flutter? [closed]

I want to implement a time picker widget to allow users to record duration (hours and minutes) and I also want to show differently depending o

Flutter project debug is stopping in my Redmi note 9 phone

Launching lib\main.dart on M2003J15SC in debug mode... lib\main.dart:1 Plugin project :firebase_core_web not found. Please update settings.gradle. Invalid depf

Flutter unable to build app for android 12

I am trying to build my Flutter App to support Android 12. It works fine up to Android 11, but is not supporting Android 12. I trying to add android:exported="t

Flutter: CMake Error at flutter/CMakeLists.txt:75 (add_custom_command): This character is not allowed

I created a flutter project recently but when I try to run it shows me the error below, how to solve it? Thanks in advance! **CMake Error at flutter/CMakeLists.

Continuously Retrieving data from stream builder

I am trying to implement stream builder with cloud firestore to retrieve field data. Here is the code: @override Widget build(BuildContext context) { retu

Error while trying to precache local SVG files in Flutter using flutter_svg library

I'm getting following error when I try to pre-cache SVG files in flutter using flutter_svg library: > flutter: ══╡ EXCEPTION CAUGHT BY

Flutter / Dart FFI existing .so file for Android

I'm trying to use a pre-compiled .so file with Flutter/Dart FFI. I've generated bindings with dart-ffigen, which seems to work without any issues. I've added th

how can I use flutter_test from sdk and the package test? what version of test uses test_api 0.4.3?

I am trying to run some basic unit test for my flutter app. But when I run pub get I get the following error after including test: 1.20.0 in my pubspec: dev_de

Send files from flutter web to .net api

I'm trying to send files to .net api, but api response me {"mensaje":"startIndex cannot be larger than length of string. (Parameter 'startIndex')"} void _ha

Weird output from "flutter clean" command when used outside folder that has build

When i run flutter clean a folder outside the main build folder. I this response: Changing current working directory to: /User/.. Why is that? and what does wor

Stuck terminal when creating new flutter project with get_cli?

Here the activation command flutter pub global activate get_cli Here the create new project command get create project:getcli_test

error: Undefined name 'uploadTask'. Flutter error

I am integrating file uploading system in my flutter project using firebase. While making progress indicator I am getting undefined name 'uploadTask' error. In

can i create android and ios applications with flutter without android emulator , with just flutter sdk and vscode and browser

I learned dart and I want to access flutter, but I was surprised by android studio because my computer is weak.so,can i create android and apple applications wi

How to use 15 length character key in flutter encrypt package

I'm going to use this package for encryption in the flutter application. It doesn't accept keys lower than 16 characters long. But I want to use 15 characters k