E.4. How do I draw to the screen?

Flutter has an API based on the same rendering engine as Android; it’s also called Canvas. You draw to the canvas, which is housed by a widget, using the CustomPainter class that you use to run your algorithm. This paints lines and shapes to the screen. There’s a big section on this in chapter 6 of this book, but in general, the Flutter canvas should feel very familiar to Android developers.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.124.194