Flutter Web under the Hood
In the previous chapter, we learned why we should make our applications responsive and adaptive. We also updated our home page layout to make it responsive and adaptive. In this chapter, we will go deep inside the Flutter Engine and learn how it works under the hood. We will learn how Flutter produces apps for different platforms from the same code base, especially for the web.
By the end of this chapter, you will have learned about the different types of renderers available for building web applications from Flutter code, and the advantages and shortcomings of those renderers. You can use this knowledge to build your application using different renderers based on your requirements.
In this chapter, we will cover the following main topics:
- How does the Flutter Engine produce web apps?
- Different types of web renderers and their advantages and disadvantages.
- Choosing between HTML and CanvasKit renderers.