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

Web? #97

Open
jasonspick opened this issue Nov 12, 2019 · 2 comments
Open

Web? #97

jasonspick opened this issue Nov 12, 2019 · 2 comments

Comments

@jasonspick
Copy link

Can we confirm if this supports web?

@svarzee
Copy link

svarzee commented Mar 2, 2020

I failed to run it with web.

Assertion failed: org-dartlang-sdk:///flutter_web_sdk/lib/_engine/engine/surface/scene_builder.dart:267:12
retainedSurface.isActive || retainedSurface.isReleased
is not true

EDIT

I discovered that setting backgroundGradient causes the problem.

                              backgroundGradient: LinearGradient(
                                colors: [Colors.red[600], Colors.red[400]],
                              ),

@vazkir
Copy link

vazkir commented Apr 9, 2020

It works on web (for me at least) the only problem is that currently can't use the WidgetSpans with RichText elements for the title or message, since Flutter itself has a bug, see: flutter/flutter#42086 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants