Flutter run a function before the buildcontext with FutureBuilder

The problem I have is that I want to run a function before the buildcontext is rendered. What the function does is read the storage to get the token. The function work...

Can i start my app with a class except MyApp class?

I'm working on a mobile app that requires a login page. I already coded the home page. And i want app to start with login page, not the page i coded. Is there a way to...

How to properly authenticate the Flutter GoogleAPIs package for AdMob

I have downloaded the example for using the flutter googleapis package where usage of the PeopleAPI is shown, <a href="https://pub.dev/packages/extension_google_sign_i...

App getting crashed after updating latest Huawei Awareness Kit in flutter

I am implementing Huawei Awareness Kit from github in flutter. With updated version in gradle that says A newer version of com.huawei.agconnect:agcp than 1.5.2.3...

Change CheckBox value with custom class property

This is my first time posting here, so I apologize if I did this incorrectly. I made a custom class with a boolean field to control the CheckBox state/value:</...

Flutter Huawei push by http

im trying to send push by http to Huawei Devices with Huawei consolé integration, but the documentation is confuse, and i'm not really sure how to build my body to sen...

How to exchange data and files between two devices by NFC using Flutter?

I am a flutter developer, I want to make an application to exchange messages and files by using NFC technique I used nfc_in_flutter plugin for reading and writing NFC...

Flutter Error : The left operand cant be null, so the right operand is never executed. Try removing the operator and the right operand

I am trying to build my flutter project but I get an error while using the ternary operator. I am using the ternary operator because it would check if the first statem...

How to make status bar Transparent in flutter?

The one of the solution which I have found for it. <pre><code>SystemChrome.setSystemUIOverlayStyle( SystemUiOverlayStyle(statusBarColor: Colors.transparen...

Flutter Dependency Error (flutter_svg: ^0.19.2+1)

When I try to add flutter_svg dependency to add SVG format picture in my project it throws me an error like that: <a href="https://i.stack.imgur.com/W5jjo.png" rel="no...

Flutter: Schedule audio events for background execution

I am implementing an app in Flutter, for which I need to schedule (audio) events in advance. Only after one event is completed I can schedule the next, since the durat...

How to zoom a GestureDetector with onPanUpdate call?

I'm working on a drawing app. I want to enable both drawing on the canvas and zooming the drawings. So far, I tried achieving it by wrapping GestureDetector in Interac...

How can I get callback when ListView Item appear or disappear?

On iOS, there are delegate methods for TableView or CollectionView, like <code>collectionView(_:willDisplay:forItemAt:)</code>, is there equivalent callback for flutte...

Slide-up view in Flutter

I'm trying to make something similar to google/apple maps screen in flutter. I just started experimenting in Flutter and I have a hard time understand that "Draggable...

Is there a way to create iOS and Android libraries (maven and cocoapds) from one source code (eg. via Flutter)?

We are looking for a way to create a simple mobile SDK for both Android as well as iOS. The SDK is super simple and will only make API calls and open page in We...