C1O2 icon indicating copy to clipboard operation
C1O2 copied to clipboard

Fails to build & run

Open adityogi opened this issue 3 years ago • 0 comments

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.

adityogi avatar Nov 02 '22 16:11 adityogi