Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies between packages is not updated after latest flutter_modular release. #898

Open
milodude opened this issue Sep 5, 2023 · 2 comments
Labels
new New issue request attention

Comments

@milodude
Copy link

milodude commented Sep 5, 2023

Describe the bug
Compatibility between flutter_modular and modular_test packages.

Environment
[✓] Flutter (Channel stable, 3.13.2, on macOS 13.4.1 22F770820d darwin-arm64, locale
es-419)
• Flutter version 3.13.2 on channel stable at
/Users/roquematiasraverta/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ff5b5b5fa6 (12 days ago), 2023-08-24 08:12:28 -0500
• Engine revision b20183e040
• Dart version 3.1.0
• DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/roquematiasraverta/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• Java binary at: /Applications/Android
Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.12.1

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.81.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.70.0

[✓] Connected device (3 available)
• iPhone 14 Pro Max (mobile) • FE8C12E1-86CA-42FE-AE43-7A6958D03BDC • ios
• com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
• macOS (desktop) • macos •
darwin-arm64 • macOS 13.4.1 22F770820d darwin-arm64
• Chrome (web) • chrome •
web-javascript • Google Chrome 116.0.5845.140

[✓] Network resources
• All expected network resources are available.

• No issues found!

Add your pubspec.yaml

version: 1.0.0+1
environment:
sdk: ">=3.1.0 <4.0.0"

dependencies:
build_runner: ^2.4.6
cupertino_icons: ^1.0.2
device_preview: ^1.1.0
equatable: ^2.0.5
flutter:
sdk: flutter
flutter_localization: ^0.1.13
flutter_localizations:
sdk: flutter
flutter_modular: ^6.3.0
intl: ^0.18.1
intl_utils: ^2.8.4
mockito: ^5.4.2
modular_test: ^2.0.0
rename: ^2.1.1

dev_dependencies:
flutter_lints: ^2.0.0
flutter_test:
sdk: flutter

flutter_intl:
enabled: true
class_name: AppLocalizations

linter:
rules:
- prefer_const_declarations
flutter:
uses-material-design: true

To Reproduce
Add flutter modular latest package flutter_modular: ^6.3.0 Then add modular_test latest package version modular_test: ^2.0.0

Expected behavior
Should download the packages without any issues

Screenshots
Captura de pantalla 2023-09-05 a la(s) 17 49 42

@milodude milodude added the new New issue request attention label Sep 5, 2023
@FernandoUFS
Copy link

The package modular_test is no longer used in the latest version of flutter modular. There is a new way to do tests:
https://modular.flutterando.com.br/docs/flutter_modular/test

@Lonyless
Copy link

should modular_test be marked as "deprecated" at pub dev?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new New issue request attention
Projects
None yet
Development

No branches or pull requests

3 participants