Category "flutter"

How to convert Timestamp to DateTime from firebase with flutter

I have Timestamp item in firebase. I get the item from dart code timestamp type. It shows like 'Timestamp(seconds=1590903768, nanoseconds=26999000)' as it is.

When i click on PopupMenuButton, PopupMenuItems are not Showing

I am making a flutter app where I have a PopupMenuButton. When i click on PopupMenuButton, PopupMenuItems are not Showing. Here is the code: class _Configur

No permissions found in manifest for: []22 - Flutter

I'm trying to get storage permission from the user. Below is the sample (copy-paste) code. But I'm getting error when I'm trying to request the permission. D/pe

Flutter: How to fit the web view size to screen?

I am new in flutter, tried to use web view in flutter, but the the size of the web view is bigger than the screen. I want to fit the web page size to the phon

When i click on PopupMenuButton, PopupMenuItems are not Showing

I am making a flutter app where I have a PopupMenuButton. When i click on PopupMenuButton, PopupMenuItems are not Showing. Here is the code: class _Configur

How to apply different animations to an old page during the transition?

I have a panel as a tabbar at the bottom with custom animation and with page names. I have 5 pages that can be switched with the next animation: the new page sh

Flutter DropDownButton using FutureBuilder value is not updating after selecting values from DropdownItems

I have been trying to code this app using Flutter and I want to make a Dropdown that displays the values received from a JSON response via provider. The respons

How to pass generic provider to child?

I want to create a universal alert that I will use several times in my app. class SelectIconAlertDialogWidget extends StatelessWidget { const SelectIconAlertD

Flutter Nested Navigation Back Button handling on Android

Background I have a Navigator widget on my InitialPage and I am pushing two routes ontop of it (NestedFirstRoute and NestedSecondRoute). When I press the physic

Flutter In-App Purchase Implement For Google Pay

I am trying to update my existing application on google play store from Android Java with Flutter Dart. On my existing application, I have an in-app purchase th

How to add an image to Flutter?

I have already done everything on this site of my app, but I wanted to add an image after I did my code to put a gradient in the background. Now when I try to a

Problem with running IOS simulator for my flutter app

I'm trying to run my flutter app on the IOS simulator and its not working. So tried on the most basic flutter app (create my_app and then tried to run it) and n

Overwrite Paste Event for TextFormField

I have a TextFormField. Usually you can use the selection toolbar to copy/paste/select all and so on using long tap/double tap. I want to overwrite the Paste E

Flutter Error when trying to debug Windows App

I am trying to start Windows app for first time with default Flutter Project but it's showing this error espacialy. Unable to start engine without AOT data. Fai

Detect if device auto orientation mode turned on or off in Flutter

I'm working on this app that uses a video player. In here I use 2 main options to change the orientation of the player, which are the fullscreen button, and the

How to force Flutter to update my version and build number?

I've changed my version in pubspec.yaml to 1.0.1+1 (from 1.0.0+3) flutter clean flutter build ios When I open [project]/ios/Runner.xcworkspace it still shows me

After reinstalling the app, firebase auth skips login

In my app, I'm using phone auth and we are observing this on Android, after logged in, if I uninstall the app and reinstall it again, it's not asking me to logi

Flutter OS Error: File exists, errno = 17

MY ERROR - Unhandled Exception: FileSystemException: Cannot open file, path = '/storage/emulated/0/Download/Music/a.png' (OS Error: File exists, errno = 17)

Flutter / webview_flutter too big to fit screen

I am running flutter 1.17.1, using webview_flutter: ^0.3.21 dependencies added to pubspec.yaml and added this to the end of info.plist <key>io.flutter.em

Generating aes cbc key from password and iv in dart

anyone havean idea how can i generate a key for aes encryption in dart from iv and password? like this code written in C#: var spec = new Rfc2898DeriveBytes(En