Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error shown when trying to run on chome browser using a MacBook Air M2 chip #32

Open
inglesuniversal opened this issue Jan 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@inglesuniversal
Copy link

Assertion failed: file:https:///Users/folder/.pub-cache/hosted/pub.dev/glass_kit-3.0.0/lib/src/glass_container.dart:73:16
kIsWeb != true I| borderColor != null
"borderColor cannot be null when runing on the Web\n"
See also: https://flutter.dev/docs/testing/errors

@inglesuniversal inglesuniversal added the bug Something isn't working label Jan 25, 2024
@bharat-1809
Copy link
Owner

As the assertion says, borderColor is needed when building for web. This is because CustomPaint doesn't work properly on web to paint the border gradient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants