I did not find examples specifically for Canvas. The "minimalistic by design" kind that focuses on just illustrating the DSL around canvas, no real functionality. I made two tiny Canvas examples and I would like to contribute them.
- The first one just sets the background and draws three rectangles. This one wants to be a minimalistic intro to canvases
- The second one is the same but lets you click on one of the rectangles, and the clicked rectangle changes color. If you click another rectangle, the previous rectangle's color reverts and the new one's color changes. Basically an int state and an onTapped event handler. This wants to be an extremely minimalistic intro to canvas interactivity.
I'm curious if you are open to including these among the examples.
If you are, then I would like to discuss the directory hierarchy. Would you mind if I placed them in a subdirectory within the Examples directory? A flat list of examples will get hard to follow.
I did not find examples specifically for Canvas. The "minimalistic by design" kind that focuses on just illustrating the DSL around canvas, no real functionality. I made two tiny Canvas examples and I would like to contribute them.
I'm curious if you are open to including these among the examples.
If you are, then I would like to discuss the directory hierarchy. Would you mind if I placed them in a subdirectory within the Examples directory? A flat list of examples will get hard to follow.