Category "flutter"

how to store the location data in flutter?

import 'package:firebase_core/firebase_core.dart'; import 'package:firstapp/screens/Login_screen.dart'; import 'package:firstapp/screens/authunication/phone_aut

AWS Amplify Flutter: how to create platform endpoint?

Short version of my question: I have a Flutter mobile app that uses AWS Amplify to handle user sign-up and log-in. Now I need to add push notification capabilit

visual studio code keeps display an error after updating flutter to v 2.10.3

after upgrading my old flutter with latest version of flutter 2.10.3 vs code keeps display the errors down below : /C:/flutter2/packages/flutter/lib/src/mater

An unexpected packet was received before the handshake. - Android Studio

When I run the Flutter project on Android Studio, before running the application on the emulator, the event log displays "An unexpected packet was received befo

How can I Make from Flutter Project files a one single file to install it on Android or IOS?

I am just starting learn Flutter, I build a simple as you see on the photos. My problem is I have a windows 11 and I don't have any MacOS Device, But I want to

Requires SDK version >=2.16.0 <3.0.0, version solving failed

The current Dart SDK version is 2.14.4. Because trackkit requires SDK version >=2.16.0 <3.0.0, version solving failed. pub finished with exit code 1 My pu

different in signature in Dart & node

am trying to make a signature for a HTTP request , using flutter/dart for the app and the server in NodeJs but i have a problem there is little different betwee

The argument type 'double' can't be assigned to the parameter type 'VisualDensity?'

IconButton(//... visualDensity: VisualDensity.minimumDensity,), // The argument type 'double' can't be assigned to the parameter type 'VisualDensity?'. Why can'

Security in Flutter apps

I noticed that for flutter there isn't a plugin or similar that manages security vulnerabilities of apps. The code can be obfuscated with the --obfuscate optio

How to solve Could not determine the dependencies of task ':app:lintVitalRelease' [status code 502 from server: Bad Gateway]

Hi I am trying to build an app of flutter, but I get this error log FAILURE: Build failed with an exception. * What went wrong: Could not determine the depende

Flutter + auto_route. No route generated for a flutter package project

I created a Flutter-Package-Project and tried to generate the project route using auto_route, but unfortunately no route will be generated, but also no errors,

Flutter - FutureBuilder in SearchDelegate with Delay Request

I was struggling implement simple search function using SearchDelegate. I want to wait 2 second after user stop typing and then make a call request to an API. I

Listen a ValueNotifier from class

Hi im new in flutter and i have a class for notify changes of a global values in my app like this import 'package:flutter/material.dart'; class GlobalNotifier

Problem with time picker not working flutter

Problem with the time picker not working when I choose the time it should be typed automatically in the field code : https://codeshare.io/WddQvl onTap: () {

How to map nested freezed union classes to drift/moor sql tables?

I need to save this Objects into a SQL/Drift DB, how can/should I design die Tables/Rows for an efficient mapping? Here is are examples of a (deep)nested union

Flutter Spinner date picker (CupertinoDatePicker) change order/swap location

I want to use Spinner date picker but I did not find it in flutter packages I found something similar CupertinoDatePicker which works fine. but I can't change

RenderFlex overflowing in NavigationRail and NavigationRailDestination on window-resizing

How to fix RenderFlex overflowing in NavigationRail and NavigationRailDestination, when resizing the Desktop window? Flutter 2.11.0-0.0.pre.794 • channel m

How to make a simple Flutter stopwatch foreground service on Android?

I am implementing a stopwatch (0 to .. seconds counter) in my app. I succesfully implemented it in my Dart code, but I need it to work even if the app is closed

Parsing csv data - Flutter

I'm receiving data from the csv file as SERVICE_ID‡WEIGHT_ID‡DISTANCE_ID‡BASE_PRICE‡IDENTIFIER PARCEL‡W0‡‡0.00&

Why can't I use flutter stepper's controlsBuilder

I can execute the sample code in demo project, but when I past the code to my project it shows: The argument type 'Row Function(BuildContext, {void Function()