Set.difference() is refactored as it is extremely slow
Tested on PC browser, work well with both html andcanvaskit renderers (ahh Flutter will default to canvaskit if it's on PC, if we specificly call --web-renderer html it'll not work, just like on mobile browser)
Have not tested on any mobile browser/physical mobile device
Mobile browser: still freezes with html renderer (maybe a Flutter web internal bug). edit: The entire Paint() module relies on Skia API, so it'll never work with html renderer...
Set.difference()
is refactored as it is extremely slowTested on PC browser, work well with
both html andcanvaskit renderers (ahh Flutter will default to canvaskit if it's on PC, if we specificly call--web-renderer html
it'll not work, just like on mobile browser)Have not tested on any
mobile browser/physical mobile device(maybe a Flutter web internal bug). edit: The entirePaint()
module relies on Skia API, so it'll never work with html renderer...