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 pub get
Running "flutter pub get" in…
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 class lives at…
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_flutter:
git:
url:…
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 class for iOS style icons.
cupertino_icons:…
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
│
└── local-packages
│ └── dart-package-1
│ │ …
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 generated ssh key and add it to my gitlab account)
…
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.12.0 <3.0.0"
Flutter 3.1.0-0.0.pre.1266 • channel master…
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 MainActivity class.
So I wanted to know the what is main…
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. For any interaction with app it would ask for the…
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 {
const OnloginScreen({super.key});
@override
…
While installing tflite package in my flutter application .. flutter pub get is not working after few minutes it shows connection timeout server unavailable though other packages are getting installed.
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 package)
∟ example (example APP that uses my…
I am trying to integrate Huawei Account Kit in my flutter project. Since I am not using Huawei phone, I have downloaded the HMS Core in my phone which is version 3.0.0.300. The current version for Huawei Account Kit in my pubspec.yaml is…
I am trying to migrate my existing Flutter app to web. The problem is that certain packages don't exist for Web, (e.g. ObjectBox).
I don't really want to build a whole new project so is there a way to exclude certain dependencies for web? Couldn't…
good day
I have the following problem:
error on line 40, column 11: Invalid description in the "cdm_flutter_api" pubspec on the "plugincdm" dependency: "./lib/CdmPlugin/" is a relative path, but this isn't a local pubspec.
╷
40 │ path:…