• 15-06-2024, 23:06:44
    #1
    Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
    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


    /Users/serkanikizoglu/.pub-cache/hosted/pub.dev/velocity_x-4.1.0/lib/src/flutter/flex.dart:456:7: Error: No named parameter with the name 'clipBehavior'.
    clipBehavior: clipBehavior,
    ^^^^^^^^^^^^
    /opt/homebrew/Caskroom/flutter/3.22.2/flutter/packages/flutter/lib/src/widgets/overflow_bar.dart:57:9: Context: Found this candidate, but the arguments don't match.
    const OverflowBar({
    ^^^^^^^^^^^


    style: Theme.of(context).textTheme.headline6,
    ^^^^^^^^^
    /Users/serkanikizoglu/.pub-cache/hosted/pub.dev/pin_code_fields-7.4.0/lib/src/pin_code_fields.dart:669:56: Error: The getter 'button' isn't defined for the class 'TextTheme'.
    - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/opt/homebrew/Caskroom/flutter/3.22.2/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'button'.
    color: Theme.of(context).textTheme.button!.color,
    ^^^^^^


    /Users/serkanikizoglu/.pub-cache/hosted/pub.dev/pin_code_fields-7.4.0/lib/src/pin_code_fields.dart:669:56: Error: The getter 'button' isn't defined for the class 'TextTheme'.
    - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/opt/homebrew/Caskroom/flutter/3.22.2/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'button'.
    color: Theme.of(context).textTheme.button!.color,
    ^^^^^^
    /Users/serkanikizoglu/.pub-cache/hosted/pub.dev/pin_code_fields-7.4.0/lib/src/pin_code_fields.dart:679:60: Error: The getter 'button' isn't defined for the class 'TextTheme'.
    - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/opt/homebrew/Caskroom/flutter/3.22.2/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'button'.
    color: Theme.of(context).textTheme.button!.color,
    ^^^^^^
    /Users/serkanikizoglu/.pub-cache/hosted/pub.dev/pin_code_fields-7.4.0/lib/src/pin_code_fields.dart:696:58: Error: The getter 'button' isn't defined for the class 'TextTheme'.
    - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/opt/homebrew/Caskroom/flutter/3.22.2/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'button'.
    color: Theme.of(context).textTheme.button!.color),
    ^^^^^^

    /Users/serkanikizoglu/.pub-cache/hosted/pub.dev/pin_code_fields-7.4.0/lib/src/pin_code_fields.dart:705:60: Error: The getter 'button' isn't defined for the class 'TextTheme'.
    - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/opt/homebrew/Caskroom/flutter/3.22.2/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'button'.
    color: Theme.of(context).textTheme.button!.color,
    ^^^^^^
    Target kernel_snapshot failed: Exception


    FAILURE: Build failed with an exception.

    * Where:
    Script '/opt/homebrew/Caskroom/flutter/3.22.2/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1629

    * What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.
    > Process 'command '/opt/homebrew/Caskroom/flutter/3.22.2/flutter/bin/flutter'' finished with non-zero exit value 1

    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.


    * Get more help at https://help.gradle.org

    BUİLD FAILED in 18s
    Error: Gradle task assembleDebug failed with exit code 1

    Exited (1).

    Hata bu denemedik yol kalmadı yardımcı olur musunuz
  • 15-06-2024, 23:45:10
    #2
    İlk hatada velocity_x paketinde clipBehavior adında bir parametre yok ama gönderilmeye çalışılmış.

    Diğer hatada ise Theme.of(context).textTheme.button!.color button değişkeni deprecated oldu. Onun yerine labelLarge kullanabilirsiniz.