pubspec Questions

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...

2

I was trying to implement local_auth package into my Flutter app. in the documentation, it was mentioned that it will have to use FlutterFragmentActivity instead of FlutterActivity in my MainActivi...

3

Solved

I put in pubspec.yaml and I ran flutter pub get. I can even view the files on the VS code in built file explorer but it still gives the same error. class OnloginScreen extends StatefulWidget { con...
Johanajohanan asked 6/3, 2023 at 13:1

4

Do I need to update the sdk version in pubspec.yaml file after upgrade flutter? In this case do I need to change <3.0.0 to <3.1.0? Here is my current version environment: sdk: ">=2.1...
Ceasar asked 16/6, 2022 at 14:33

2

Problem Statement Currently, bringing up the Android Studio Quick Fix menu (Opt/Alt+Enter keyboard shortcut) on AppLocalizations does not suggest importing the generated file. The AppLocalizations ...

0

Was testing a UI change on my android emulator with Flutter. Emulator crashed and I got this message: "Error: Dart library 'dart:html' is not available on this platform. lib/…/pages/sign_up.da...
Lockyer asked 4/3, 2023 at 0:47

7

Solved

I want to create my launcher icon for flutter. My config (pubspec.yaml) looks the following. ... # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons c...
Phrygian asked 6/1, 2022 at 18:35

2

Solved

I am running into a problem when trying to build my Flutter app. I am using VS Code and the latest versions of Flutter and Dart. I think I have a problem with dependencies, but not sure. I have the...
Brynhild asked 17/5, 2022 at 8:46

3

Solved

I'm having this problem in pubspec.yaml : here the pubspec.yaml : dependencies: flutter: sdk: flutter cupertino_icons: ^1.0.2 pluto_grid: ^2.9.3 and here is the Error : [pluto_grid] flutter p...
Bowleg asked 14/4, 2022 at 11:44

1

Solved

My flutter project depends on several local flutter and dart packages to keep things separated and clean. My folder structure is like this: main-flutter-project │ lib | test │ pubspec.yaml │ └── lo...
Exegetics asked 21/10, 2021 at 13:39

1

Solved

I made my own Flutter package 1 year ago and want to update it now. I find an error I didn't see before, so would like to get ideas how to solve it. Structure / ∟ pubspec.yaml (pubspec.yaml for my ...
Majormajordomo asked 1/1, 2022 at 16:59

0

I want to create an app which allows lock on the other apps in device. It like parenting control app. If parents lock some app in the device. It would not be accessed by the child or deleted by him...
Bartlett asked 29/5, 2021 at 9:38

1

Solved

I'm trying to modify an existing package on pub.dev. I need to update one of the dependencies in the package. I've seen how to do this from here dependencies: flutter: sdk: flutter graphql_flutt...
Shelled asked 16/3, 2021 at 21:30
1

© 2022 - 2024 — McMap. All rights reserved.