himanshugoyal77 / salon-booking-app

A salon booking app with Stripe payments to make booking process easy
4 stars 1 forks source link

i have an error #1

Open Baazzith opened 6 months ago

Baazzith commented 6 months ago

You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

../../.pub-cache/hosted/pub.dev/leak_tracker_testing-2.0.3/lib/src/leak_testing.dart:146:9: Error: No named parameter with the name 'notGCed'. notGCed: ignoredLeaks.notGCed.merge( ^^^^^^^ ../../.pub-cache/hosted/pub.dev/leak_tracker-10.0.4/lib/src/leak_tracking/primitives/model.dart:130:9: Context: Found this candidate, but the arguments don't match. const IgnoredLeaks({ ^^^^^^^^^^^^ ../../.pub-cache/hosted/pub.dev/leak_tracker_testing-2.0.3/lib/src/leak_testing.dart:193:9: Error: No named parameter with the name 'notGCed'. notGCed: newNotGCed, ^^^^^^^ ../../.pub-cache/hosted/pub.dev/leak_tracker-10.0.4/lib/src/leak_tracking/primitives/model.dart:130:9: Context: Found this candidate, but the arguments don't match. const IgnoredLeaks({ ^^^^^^^^^^^^ ../../.pub-cache/hosted/pub.dev/leak_tracker_testing-2.0.3/lib/src/leak_testing.dart:180:35: Error: The getter 'notGCed' isn't defined for the class 'IgnoredLeaks'.

FAILURE: Build failed with an exception.

BUILD FAILED in 39s Running Gradle task 'assembleDebug'... 40.1s Error: Gradle task assembleDebug failed with exit code 1

a-3isa commented 6 months ago

follow the instruction in this link [https://flutter.dev/go/flutter-gradle-plugin-apply]