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.
162,742
questions
0
votes
0
answers
2
views
flutter building for iOS Simulator
I'm trying to launch the application, but writes this error Error (Xcode): In /Users/vsevolodurkin/Desktop/mobile-app/ios/Runner/SDK/libibox.pro.sdk.external.a(QRData.o), building for iOS Simulator, ...
0
votes
0
answers
6
views
Firestore Structure Array Organization
This is the data I have obtained from an excel sheet and I want to create firestore documents with the same id of kdocID variables and populate it's content from the remaining arrays:
List<String&...
0
votes
0
answers
12
views
On parsing JSON in Dart getting type '_Map<String, dynamic>' is not a subtype of type 'String' error
So I have open api json response of model:
{
"object": "list",
"data": [
{
"id": "whisper-1",
"object&...
0
votes
0
answers
8
views
Flutter implement basic webrtc
I want to learn WebRTC basic concepts .
before of all , I did try with html and js :
<!DOCTYPE html>
<html>
<head>
<title>Basic WebRTC Page</title>
<style>
...
0
votes
0
answers
11
views
Target of URI doesn't exist: 'package:firebase_storage/firebase_storage.dart'
I try to add the 'firebase_storage' package to project .. but I receive this error although I added the reference to pubsec.yaml file .. I tried pub get and flutter packages get and restarted the IDE ...
0
votes
1
answer
10
views
How can I crop an image captured with Flutter camera based on a rectangle overlay?
[Flutter] How do I crop the image based on the overlay on top of Camera function?
I set the image to this:
final image = await _controller.takePicture();
I want to crop the image based on the ...
0
votes
0
answers
4
views
flutter_native_splash not working and show only white/dark screen
...
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
http: ^0.13.6
local_auth: ^2.1.6
rxdart: ^0.27.7
bloc: ^8.1.2
google_fonts: ^4.0.4
flutter_secure_storage: ^8.0.0
...
0
votes
0
answers
5
views
I have a ProviderNotFoundException problem?
I'm applying the Provider pattern to manage the state of my application So I have a ListView of CartItem
and when I dismiss the CartItem from it a ProviderNotFoundException occur the logic and the ...
-2
votes
0
answers
5
views
I don't know whats causing this error in flutter, I just tried to create a new project and I am getting this error,
`//I don't know whats causing this error in flutter, I just tried to create a new project and I am getting this error,
//I have update kotlin jdk7 to jdk8 and It's not work
//my project run normmally ...
0
votes
0
answers
16
views
Generating PDF Invoices for Products using Flutter and Dart
Hey Flutter Developers can you help me pleases
Im trying to generate a pdf invoice here is the codeenter image description here
Future<void> generateInvoice(List<Product> products) async {
...
0
votes
0
answers
10
views
I am unable to find bin folder in "C:\Users\This PC\AppData\Local\Pub\Cache"
After running this command in cmd "npm install -g firebase-tools"
i have to create a enviromental variable, then i go to this path "C:\Users\This PC\AppData\Local\Pub\Cache"
to get ...
-1
votes
0
answers
9
views
is it possible to build android alarm app that plays a local video instead of sound at user desire time?
I want to build an Android Alarm app preferably using Flutter to play a video when the user desired time arrived.
it would be possible to run in the background or lock screen?
how could I use ...
0
votes
0
answers
7
views
Unable to use Firebase-Auth and Provider to provide custom user class throughout my widget tree
My goal:
A custom defined User class that is available throughout my Flutter app and updates according to new data in Firebase.
How I tried to accomplish my goal:
Obtain uid: Using FirebaseAuth I can ...
0
votes
0
answers
8
views
How can i get cities, their countries and their timezones(i.e GMT+0.0) in flutter for time app?
How can i get cities, their countries and their timezones(i.e GMT+0.0) in flutter for time app.
I am trying to clone my local time app, which requires City name, country name and its GMT time. I dont ...
0
votes
0
answers
6
views
Switch case autocomplete not working in Android Studio after dart3 migration
In the past I successfully used switch auto completing for creating all the missing cases. But after migrating to the dart 3 that's feature not work yet. All what I see - the error message about ...
0
votes
0
answers
10
views
BloC State Management
I need help from the community with the following question:
I have a flutter web application that displays a menu when hovering over a specific text. When this menu opens I can click on the desired ...
0
votes
0
answers
17
views
What is the difference between these two ways to get info in OOP in dart flutter? [duplicate]
What is the difference between these two ways to get info in OOP in dart flutter?
int get age {
return vehicleAge;
}
int age() {
return vehicleAge;
}
I undestand that the fisrt one is called ...
0
votes
0
answers
7
views
textFormField focus node doesn't properly work in listView
I have a list of form where I can input different data like as firstname, lastname, dateOfBirth,age etc. I used a listBuilder for this. My problem is that, when I click on submit button then empty ...
-3
votes
0
answers
24
views
Please help me solving this [closed]
I am trying to compile the app then this issue arises
Running Gradle task 'assembleRelease'...
Note: C:\Users\admin\AppData\Local\Pub\Cache\hosted\pub.dev\launch_review-3.0.1\...
0
votes
0
answers
6
views
Google Maps Flutter - How to apply styles to info window?
I have a Google Map applied with flutter_maps, some markers and a info window to each marker.
App: https://i.stack.imgur.com/7Gy2D.png
Code: https://i.stack.imgur.com/nICi1.png
I'm able to put some ...
0
votes
0
answers
4
views
Flutter Web - iFrame - refused to connect
I am trying to handle the payment gateway in Android, iOS & Web apps. We have used WebViewWidget to handle the mobile and it's working as expected. However, we are trying to replicate the same in ...
0
votes
0
answers
11
views
How can I update UI in Flutter without having to pop and push InsideFolder?
in insideFolder it only updated when i pop and push the InsideFolder but i want to update anyTime
the _myList[0]['urlProgress'], updated
but it only show me the update when i pop and push
Navigator....
0
votes
0
answers
5
views
How to route FlutterTTS speech to a phone call initiated by flutter_phone_direct_caller plugin?
Does anyone know how to route speech/voice that is generated FlutterTts.speak to a voice call initiated by flutter_phone_direct_caller plugin?
I am initiating a voice call using ...
-1
votes
1
answer
15
views
Flutter: How to create dynamic column lists based on device screen height?
I'm trying to develop dynamic column lists in flutter using the column and card widgets. I have it right now displaying two equal columns but what i need is for it to determine how many items to fill ...
0
votes
0
answers
8
views
Integration of Flutter app into my React Application
I have a requirement to use a standalone Flutter chat app for my React website. I was thinking about whether it is possible or not. Maybe I should continue with Microfrontend architecture.
0
votes
0
answers
10
views
What is the equivalent of JS 'appendChild' in Flutter to add a button class to a specific container?
Im currently working on an app where buttons should appear depending on how close you are to an animal in a zoo. So you walk around and when an animal is closer than 5 meters, a button should appear ...
0
votes
0
answers
6
views
When I press one of the items in the scroll-down button, it is not updated but when I randomly press on the screen, it is updated
When I press one of the items in the scroll-down button, it is not updated but when I randomly press on the screen, it is updated.
DropdownButton(
value: _selectedDifficulty,
...
0
votes
0
answers
18
views
firebase functions: firebase deploy error
I'm trying to deploy firebase functions but it gives me errors. I checked for solutions and recommended to go to firebase.json and chnage $RESOURCE_DIR to %RESOURCE_DIR%. But after initializing the ...
0
votes
0
answers
15
views
My list.view builder is not projecting images to the screen
import 'package:flutter/material.dart';
import 'package:groceryapp/model/cart_model2.dart';
import 'package:provider/provider.dart';
import '../model/cart_model.dart';
class CartPage extends ...
0
votes
0
answers
13
views
Getting 400 error code without any more details for tokenInfo API in flutter
I'm trying to fetch google auth scopes granted by user using this code.
final oauth2Api = Oauth2Api(client);
final tokenInfo = await oauth2Api.tokeninfo();
final grantedScopes = ...
0
votes
0
answers
9
views
sidebar navigation in flutter
I'm building a sidemenu but am having some dificulty with my setup mostly due to Navigator and Scaffold(Messenger) restrictions. Basically what I want is that any routes inside the sidebar have their ...
-2
votes
0
answers
6
views
DeepAR Broken Camera Issue in flutter
I just want to create app like snapchat I want to add filter by using DeepAR but its show me a broken screen, I tried many times but I face same issue
I am also copy the same example of package ...
0
votes
0
answers
12
views
Flutter web take too much time to load
I deploy flutter web app to server but it take too much time to load.
app_link
How can I reduce this first time loading time.
0
votes
1
answer
11
views
how do i figure out what to do with this? flutter local notification or firebase notification
Hi i am making a workspace managment booking application and I dont know whether to use push notifcation or local notifcation, The situation is that lets say the manager is allowed to book seats and ...
0
votes
0
answers
11
views
Flutter complex scroll list and mechanism
I'm currently building a Flutter App with a docket view and want to implement a "stick to top logic" on scroll.
In general, my view looks something like this:
First entry at date "13....
0
votes
0
answers
9
views
overflow navigation bar in flutter application using google_nav_bar library
In my bottom navigation bar for my time management app i am having overflow problem.
bottomNavigationBar: GNav(
tabActiveBorder: Border.all(color: Colors.red),
tabBorderRadius: 55,
...
-3
votes
0
answers
21
views
expression has void problem or what don't know [closed]
enter image description here
This expression has a type of 'void' so its value can't be used.
Try checking to see if you're using the correct API; there might be a function or call that returns void ...
0
votes
0
answers
13
views
My Flutter Mobile Browser app can't handle/load external link from other apps in own WebView new tabs
I'm working on a mobile browser app using flutter_inappwebview package.
https://pub.dev/packages/flutter_inappwebview
https://inappwebview.dev/docs/intro
It has home_page.dart with OpenNewTab() to ...
-1
votes
0
answers
20
views
How to use dotlottie in flutter
Recently i used a dotlottie file in my project, but i not handel with lottie package. it just handel json files. can any one help for this.
0
votes
1
answer
18
views
how to access search click event on flutter dropdown
I am using dropdown search to list data. I want to access the click event of this dropdown but I can't. How can I access
DropdownSearch<String>(
dropdownSearchDecoration: InputDecoration(
...
0
votes
1
answer
17
views
Is there a way that Flutter won't allow my app to install or run at different sizes?
I have coded an application that I have only optimized for the size of the phone (it is responsive on the phone). Now I want it not to be run or installed when the user runs it with the emulator on ...
0
votes
1
answer
25
views
Unable to load assets, despite adding service account key and audio file
I am learning to build flutter-firebase app for speech to text using medical_dictation model of google_speech ^2.2.0 API. I have already created a service account on GCP, enabled speech to text API, ...
0
votes
1
answer
14
views
How can I disable ReCaptcha verification during mobile number verification in my Android Flutter Firebase app?
I just want to remove ReCaptcha verification from my app.
every time I verify my mobile number, a default browser opens for device verification
Also enable Google Play Integrity API in the Firebase ...
0
votes
1
answer
21
views
How to get notice when flutter has compiled
I know it may be goofy for some of you, but I really would like to get a notification or a sound when my flutter application has compiled and is running. I would like to automate this process but I ...
0
votes
0
answers
14
views
Protecting my Flutter Windows app with license activation
how to apply license activation in my flutter windows app? I'm planning to distribute my app locally but for security sake and saving my rights I want to apply security level on my software product to ...
0
votes
0
answers
16
views
Why is the file requested by the browser not matching the file hosted on GitHub Pages?
https://github.com/anudeepburugu/anudeepburugu.github.io/blob/main/assets/json/data.json
The file's not matching when the browser requests the url: https://awaken-your-inner.beauty/assets/json/data....
0
votes
1
answer
12
views
go_router , how to pass parameter as bool or int with query parameter?
here is how i pass parameter as queryParameter , it accept all types , <String, dynamic> :
routes.goNamed(
'confirm',
queryParameters: {
'isLogin': true,
},
);
but here ...
0
votes
0
answers
19
views
How can I create a circular progress indicator takes both positive and negative values and can go ant-clockwise as well?
Is it possible to create a circular progress indicator that can do all the things in reverse direction as well?
For example if it takes positive values it goes clockwise and turns green for values ...
0
votes
2
answers
42
views
Fetching data and store it in the cache with flutter
I am bulding an app with flutter. I am at the point of retriving data during the login process. The idea is to store this data in the cache and use it later for other operations. I am using nodejs ...
0
votes
1
answer
16
views
Trying to find a Flutter package for app usage detection
I'm looking for a Flutter package (specifically for Android devices) which allows checking the app usage in my device, so that I can know when did the user open some application. Any recommendations / ...