Got Gradle error when try to get an APK when adding flutter_quill: ^9.3.1 package.

Hi there I need add flutter_quill: ^9.3.1 package and use it to create a custom widget. I got error before 7 march update. I have been waiting for 7 march update to test it with 3.19.1 flutter sdk and now I still get error:

error:

Error: Command failed: flutter build apk --no-pub --no-version-check

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

I also added these as dependencies to custom widget but still get error:

url_launcher: ^6.2.4

url_launcher_android: 6.2.0

url_launcher_ios: 6.2.0

url_launcher_platform_interface: 2.2.0

flutter_keyboard_visibility: ^6.0.0

when I run the test mode in FF, It work for me. I can run it locally too. But I can't get an export it.

Thank you for your time.

4
5 replies