flutter Questions

2

I install Flutter and VS Code in the following way: $ sudo snap install --classic code $ sudo snap install --classic flutter $ export CHROME_EXECUTABLE="/usr/bin/chromium" $ flutter doc...
Prostrate asked 16/9, 2021 at 22:33

2

I have private dependency from GitLab in my Flutter mobile app project. It is specified in pubspec.yaml with git repository link and I can successfully run pub get if I use ssh for it (I have gener...

5

I wanted to move my project into Android Studio and when I was running the simulator, the project was running fine. Since I updated Android Studio, the simulator has the error that the Gradle versi...
Emeldaemelen asked 27/4, 2023 at 19:0

4

Solved

I just upgraded to Flutter 3.22.0 and am getting the following error when running my Flutter web app on chrome: Warning: In index.html:84: Local variable for "serviceWorkerVersion" is de...
Melanous asked 17/5 at 0:0

4

In android, when we take a screenshot, it gets stored in the clipboard. Now if I open WhatsApp, and tap on the message field. My keyboard gives me a suggestion to paste the image from the clipboard...
Alixaliza asked 7/3, 2023 at 5:34

4

I'm trying to write some unit tests for ApiBaseHelper methods (responsible for all HTTP requests). class ApiBaseHelper { String _baseUrl = "${Config.get('apiUrl')}/"; Dio _dio = Dio().....
Teacart asked 14/4, 2022 at 14:19

9

I created a Flutter project, that targets Android, iOS, macOS, Linux and Windows. It works well on both Android and iOS, but when I try to compile it on Windows 10, I got the following error: /C:/U...
Oxytetracycline asked 25/6 at 19:24

2

Solved

I'm using flutter_bloc library. My screen widget code looks looks this: class RegisterScreen extends StatefulWidget { RegisterScreen(); @override _RegisterScreenState createState() => _Regis...
Laterite asked 21/8, 2020 at 15:6

9

Solved

I have a problem using the storage to persist the user login data . the scenario like that : after login , I clear the app and try to reopen it again , sometimes it open and sometimes it's freezes ...
Perak asked 20/2, 2022 at 19:33

6

Solved

I'm new to flutter. I just created a new project in flutter and have not even altered the code. And when I run the code I get the following error. Launching lib\main.dart on SM A750F in debug mode...

9

Solved

Code Text Colorless When I code in Visual Studio, it doesn't show any colours in the code text. It shows blue and green colours only for the class and comments texts. Also, VS doesn't suggest me an...
Conduce asked 21/1, 2022 at 16:43

3

While im archiving and uploading an build to the appstore connect through xcode im facing this error. The archive did not include a SYM for the Flutter.framework with the UUIDs [4C4C44D2-5555-3144...
Transference asked 19/9 at 17:21

4

Solved

How can I detect if a page transition was finished in flutter? Background: When I pop to a page, I want to start a function after the page transition has finished.
Sosthina asked 14/8, 2019 at 20:26

3

Can you convert a Future<String> to a String? Every time I start my application, it should get data from the database, store it in a .csv file, read the .csv file and update some string varia...
Aeolis asked 27/2, 2020 at 17:16

2

Solved

I'm new to flutter and I'm trying to create an app with provider. I wrapped MaterialApp widget with the ChangeNotifierProvider and the app works and I can use the provider as it intended to do. I n...
Sol asked 28/8, 2019 at 11:37

10

I just added the the fvm package to switch the flutter channel from stable to master without downloading sdk components every time when switching flutter channels. I have followed the step written...
Lightish asked 4/5, 2020 at 12:11

3

Solved

When debugging for iOS with Flutter, the following error occurs during build. Lexical or Preprocessor Issue (Xcode): Include of non-modular header inside framework module 'firebase_storage.FLTTask...
Statampere asked 18/9 at 7:28

2

Solved

In build method, MediaQuery.of(context).orientation equals Orientation.landscape. How to make it into portrait. The test widget is wrap under MaterialApp.
Obsessive asked 3/5, 2018 at 15:8

2

Solved

I want to encode the following string in Base64Url in Flutter and decode it in on a Dart server. "username:password" How do I do that? And how do I do it in Base64?
Stonefish asked 18/5, 2019 at 16:58

2

Solved

Is it possible to use the Material Icons in Flutter as Markers in a Flutter app with the GoogleMap widget?
Aftershaft asked 25/10, 2019 at 15:27

3

Solved

GoogleService-Info.plist file is added via Add Files to "Runner" option. So, it is in the Runner directory. I had already checked lots of stack overflow answer but unable to figure out t...
Bowe asked 8/7, 2020 at 4:42

2

Solved

I'm new to Flutter iOS development. Trying to publish an app on the Apple app store. But after building the archive, when I try to distribute or validate the app, Xcode keeps me showing The archiv...

5

I'm using plugin google_maps_flutter 1.2.0, and i want to instanciate a GoogleMapController for testing some bloc's event, where the controller's value can't be null. Unfortunalty, i don't know how...
Amalamalbena asked 22/2, 2021 at 0:2

5

I am trying to integrate CameraX inside my flutter project. I am doing so via platform channels. I don't want to integrate any third party lib. Here is a screenshot of the camera only occupying one...
Astragal asked 31/1, 2023 at 10:5

4

I have an app made in Flutter and since the latest version of Xcode absolutely nothing works as before. I have been struggling with this problem for nearly a week now and the errors vary depending ...
Ruhr asked 25/9, 2020 at 11:37

© 2022 - 2024 — McMap. All rights reserved.