Skip to content

Fails to build & run #3

Description

@adityogi

flutter build web
This app is using a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to migrate this app to the V2 embedding.
Take a look at the docs for migrating an app: https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects

Building without sound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety

Upgrading .gitignore
Target dart2js failed: Exception: Warning: The 'dart2js' entrypoint script is deprecated, please use 'dart compile js' instead.
lib/main.dart:28:11:
Error: No named parameter with the name 'cursorColor'.
cursorColor: ColorPallete.color3,
^^^^^^^^^^^
/usr/local/Caskroom/flutter/3.3.6/flutter/packages/flutter/lib/src/material/theme_data.dart:269:11:
Info: Found this candidate, but the arguments don't match.

/usr/local/Caskroom/flutter/3.3.6/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_xlider-3.4.0/lib/flutter_xlider.dart:322:19:
Error: No named parameter with the name 'overflow'.
overflow: Overflow.visible,
^^^^^^^^
/usr/local/Caskroom/flutter/3.3.6/flutter/packages/flutter/lib/src/widgets/basic.dart:3787:3:
Info: Found this candidate, but the arguments don't match.
Stack({
^^^^^
/usr/local/Caskroom/flutter/3.3.6/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_xlider-3.4.0/lib/flutter_xlider.dart:314:13:
Error: No named parameter with the name 'overflow'.
overflow: Overflow.visible,
^^^^^^^^
/usr/local/Caskroom/flutter/3.3.6/flutter/packages/flutter/lib/src/widgets/basic.dart:3787:3:
Info: Found this candidate, but the arguments don't match.
Stack({
^^^^^
/usr/local/Caskroom/flutter/3.3.6/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_xlider-3.4.0/lib/flutter_xlider.dart:1485:15:
Error: No named parameter with the name 'overflow'.
overflow: Overflow.visible,
^^^^^^^^
/usr/local/Caskroom/flutter/3.3.6/flutter/packages/flutter/lib/src/widgets/basic.dart:3787:3:
Info: Found this candidate, but the arguments don't match.
Stack({
^^^^^
/usr/local/Caskroom/flutter/3.3.6/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_xlider-3.4.0/lib/flutter_xlider.dart:1606:15:
Error: No named parameter with the name 'overflow'.
overflow: Overflow.visible,
^^^^^^^^
/usr/local/Caskroom/flutter/3.3.6/flutter/packages/flutter/lib/src/widgets/basic.dart:3787:3:
Info: Found this candidate, but the arguments don't match.
Stack({
^^^^^
/usr/local/Caskroom/flutter/3.3.6/flutter/.pub-cache/hosted/pub.dartlang.org/platform-2.2.1/lib/src/interface/local_platform.dart:45:41
:
Error: Member not found: 'packageRoot'.
String get packageRoot => io.Platform.packageRoot;
^^^^^^^^^^^
Error: Compilation failed.

Compiling lib/main.dart for the Web... 8.5s
Exception: Failed to compile application for the Web.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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