Thread
#compose-web
    s

    Slackbot

    1 year ago
    This message was deleted.
    christophsturm

    christophsturm

    1 year ago
    spierce7

    spierce7

    1 year ago
    I didn’t read that anywhere. I pulled up some demos a few weeks back and noticed that they are just drawing on a huge canvas. Maybe I’m wrong, but take a look:
    I see the same giant canvas on other samples too:
    I’m not a web dev, so maybe I’m ignorant, but can anyone find an example where they aren’t just using a giant canvas? https://flutter.github.io/samples/#compose-web
    Oh - I see. There are 2 methods you can render in.
    HTML renderer
    Uses a combination of HTML elements, CSS, Canvas elements, and SVG elements. This renderer has a smaller download size.
    CanvasKit renderer
    This renderer is fully consistent with Flutter mobile and desktop, has faster performance with higher widget density, but adds about 2MB in download size.
    All the samples I found must be CanvasKit renders. Deleting not to spread misinformation.