flushbar icon indicating copy to clipboard operation
flushbar copied to clipboard

Web?

Open jasonspick opened this issue 5 years ago • 2 comments

Can we confirm if this supports web?

jasonspick avatar Nov 12 '19 17:11 jasonspick

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]],
                              ),

svarzee avatar Mar 02 '20 02:03 svarzee

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: https://github.com/flutter/flutter/issues/42086#issuecomment-611100065

vazkir avatar Apr 09 '20 16:04 vazkir