Skip to content

Added support for Flutter 3.24.0 #111

@Greek-Cp

Description

@Greek-Cp

Hi i got error in flutter version 3.24.0, can you make it support for that version ?
octor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel [user-branch], 3.24.0, on macOS 15.0.1 24A348 darwin-arm64, locale en-ID)
! Flutter version 3.24.0 on channel [user-branch] at /Users/yanuartrilaksono/development/flutter
Currently on an unknown channel. Run flutter channel to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/setup.
! Upstream repository unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/to/macos-android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.98.0)
[✓] Connected device (3 available)
[✓] Network resources
error:
Image
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00008103-001945213CF2201E, name:My Mac }
{ platform:macOS, arch:x86_64, id:00008103-001945213CF2201E, name:My Mac }
../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/appbar_widget_parser.dart:25:41: Error: The method 'toARGB32' isn't defined for the class 'Color'.

  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    : realWidget.backgroundColor!.toARGB32().toRadixString(16),
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/button_widget_parser.dart:34:33: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    color != null ? color.toARGB32().toRadixString(16) : null,
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/button_widget_parser.dart:36:29: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    ? backgroundColor.toARGB32().toRadixString(16)
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/button_widget_parser.dart:39:26: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    ? overlayColor.toARGB32().toRadixString(16)
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/button_widget_parser.dart:42:45: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    shadowColor != null ? shadowColor.toARGB32().toRadixString(16) : null,
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/button_widget_parser.dart:129:33: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    color != null ? color.toARGB32().toRadixString(16) : null,
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/button_widget_parser.dart:131:29: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    ? backgroundColor.toARGB32().toRadixString(16)
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/button_widget_parser.dart:134:26: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    ? overlayColor.toARGB32().toRadixString(16)
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/button_widget_parser.dart:137:45: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    shadowColor != null ? shadowColor.toARGB32().toRadixString(16) : null,
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/card_widget_parser.dart:18:27: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    ? widget.color!.toARGB32().toRadixString(16)
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/card_widget_parser.dart:21:33: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    ? widget.shadowColor!.toARGB32().toRadixString(16)
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/container_widget_parser.dart:64:31: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    ? realWidget.color!.toARGB32().toRadixString(16)
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/divider_widget_parser.dart:17:31: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    ? realWidget.color!.toARGB32().toRadixString(16)
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/icon_widget_parser.dart:35:31: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    ? realWidget.color!.toARGB32().toRadixString(16)
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/image_widget_parser.dart:96:33: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    ? realWidget.color!.toARGB32().toRadixString(16)
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/image_widget_parser.dart:131:33: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    ? realWidget.color!.toARGB32().toRadixString(16)
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/image_widget_parser.dart:275:31: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    ? realWidget.color!.toARGB32().toRadixString(16)
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/placeholder_widget_parser.dart:32:33: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    "color": realWidget.color.toARGB32().toRadixString(16),
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/basic/scaffold_widget_parser.dart:17:41: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    ? realWidget.backgroundColor!.toARGB32().toRadixString(16)
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/utils.dart:262:28: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    ? textStyle.color!.toARGB32().toRadixString(16)
    ^^^^^^^^
    ../../../../.pub-cache/hosted/pub.dev/dynamic_widget-6.0.0/lib/dynamic_widget/utils.dart:1146:31: Error: The method 'toARGB32' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'toARGB32'.
    "color": borderSide.color.toARGB32().toRadixString(16),
    ^^^^^^^^
    Target kernel_snapshot_program failed: Exception

Command PhaseScriptExecution failed with a nonzero exit code
** BUILD FAILED **

Error: Build process failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions