1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Flutter] Some input files use or override a deprecated API Flutter

Discussão em 'Mobile' iniciado por Stack, Novembro 8, 2024 às 01:12.

  1. Stack

    Stack Membro Participativo

    I am using sms_autofill: ^1.3.1 plugin from pub.dev. Everything was fine before adding this plugin.

    My pubspec.yaml file:

    name: example_app
    description: A new Flutter project.

    publish_to: "none"

    version: 1.0.0+1

    environment:
    sdk: ">=2.7.0 <3.0.0"

    dependencies:
    flutter:
    sdk: flutter
    sms_autofill: ^1.3.1

    dev_dependencies:
    flutter_test:
    sdk: flutter

    flutter:
    uses-material-design: true


    After adding this plugin in a blank application while debugging, the app's following warning is shown:

    Launching lib\main.dart on Emulator in debug mode...
    lib\main.dart:1
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    √ Built build\app\outputs\flutter-apk\app-debug.apk.


    flutter -doctor logs are:

    Doctor summary (to see all details, run flutter doctor -v):
    [√] Flutter (Channel stable, 2.0.1, on Microsoft Windows [Version 10.0.18363.1379], locale en-US)
    [√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    [√] Chrome - develop for the web
    [√] Android Studio (version 4.1.0)
    [√] VS Code (version 1.53.2)
    [√] Connected device (1 available)

    • No issues found!


    How can I remove the warning, and find a non-deprecated API used by the sms_autofill plugin?

    Continue reading...

Compartilhe esta Página