Category "flutter"

I want to show data change dynamically but its does not work

I am trying to show the product offer time left by using the difference between DateTime Now and the deadline date which is come from API, Here The Code: GridVi

iOS App was building fine yesterday, but it won't build today

Yesterday I pushed my first Flutter app to TestFlight in the App Store. While the app was running okay on my iPhone 5 and my iPhone Xr when I build directly to

Mongo Dart SubDocument Updating and Editing

Hello I have a data like that: { "_id":ObjectID(), "field1":"field1 value", "group1":{ {"name": "name1", "favoriteBooks":{"book1","book2"}}, {"name": "name

Is there a way on Flutter to identify and navigate to a marker from my current Location?

I have a group of markers which I retrieved and plotted on a google maps interface. I have also implement a geolocator package that gets users location. So I ha

Navigator.pop won't close the simpledialog in flutter

I'm building android app using flutter. I have a problem to close the simple dialog programmatically. Now I have a stateful page named ListVessel. This page

LateError (LateInitializationError: Field 'documentSnapshot' has not been initialized)

I am using Cloud Firestore in my Flutter application and I am facing this issue in app: LateError (LateInitializationError: Field 'documentSnapshot' has not bee

How to use more than just if/else in ternary operator?

I am having trouble with writing the right syntax for this ternary operator. I want to put like three 'if statements' and one 'else statement'. But as far as I

Existing Flutter project not show in Android Studio while import

I am importing existing flutter project in Android Studio. while open project it's only show External Library folder but not show project folder. I am trying t

Preload network images to avoid load times

I'd like to add and remove items on top of each on the press of a button to avoid load times for network images. My idea is to add ~5 images to a Stack on top o

How to change Status Bar and App Bar color in Flutter?

I'm trying to change the color of the system status bar to black. The configuration seems to be overridden by the AppBar class. I can achieve what I want by ass

How exactly to use Health package in Flutter

I am using health 3.2.0 https://pub.dev/packages/health package and after all the effort I am able to successfully access the authorisation. The problem I am fa

How To Create Folder in Local Storage/External Flutter?

import 'package:path_provider/path_provider.dart'; import 'dart:io'; void createAppFolder() async { final directory = await getExternalStorageDi

flutter: set font of SnackbarAction label

Is there a way to set the font of a SnackBarAction in flutter? It seems to use the default system font. SnackBarAction( label: 'my text', // ho

When I wnat to get package flutter it show me HTTP error 403: Forbidden

I am working on flutter project in Intellij Idea. when I want to add a package in pubspec.yaml, it leads to below errror: HTTP error 403: Forbidden package:p

Can't build a flutter project with PathProvider dependency

Disclaimer: First of all, this is my early attempt to play with Flutter. So forgive me if is a noob question. I had been playing with an MVP-Clean architecture

[flutter/FCM]problem receiving notification

I'm using flutter and Firebasemessaging to send and receive notification and the plugging FlutterLocalNotifications to display them. but when I receive the noti

Mobile DApp connecting to Wallet

I've been trying to create simple mobile app prototype (in Flutter) which would allow you to connect to a Wallet and obtains your address(es). I cannot get the

Show modal bottom sheet with custom animation

I was playing around with showModalBottomSheet() in Flutter and I was thinking about changing the default slide from bottom animation. Looking throught flutter

Stringbuffer access by index or range

TLDR: I am looking for a datastructure with the properties of a string buffer that I can access by index in dart. Long version: I need the properties of Stringb

Flutter: How to create a new project

I installed Flutter SDK, following steps, provided from this link: Install on macOS - iOS setup. But I am unable to create a new sample project in Xcode. I can'