Session

Consuming RenderObjects in your Flutter App

1. Introduction
What are RenderObjects and How flutter widgets use it under the hood.
Type of Widget Trees and their Flow during Render.
2. RenderObjects into Actions
RenderObject Types and their usage
LeafRenderObjectWidget
SingleChildRenderObjectWidget
MultiChildRenderObjectWidget
Understanding the Implementation of RenderObject Types (using Code Snippet)
Understanding the Abstract class signature of SingleChildRenderObjectWidget / LeafRenderObjectWidget / MultiChildRenderObjectWidget (any one)
Overriding Two Important Methods
createRenderObject (Small Code Snippet)
updateRenderObject (Small Code Snippet)
RenderBox with their Flow and Methods.
PerformLayout() (Small Code Snippet)
computeDryLayout() (Small Code Snippet)
paint() (Small Code Snippet)
3.Building Your own Render Object (This section will show how to create a Widget like Container from Scratch namely MinContainer)
Creating A MinContainer using RenderBox and consuming the RenderObject through RenderBox
How and When to use markMeedsLayout()
When PerformLayout() is being called and what it does.
Adding properties of MinContainer widget to createRenderObject and updateRenderObject (Code Snippet)
Using MinContainer Widget as an End user in Flutter (Live Demo by Quickly Running an Flutter App).
That's the end of the Topic.

Hasnen Tai

Senior Flutter Developer at GeekyAnts

Bengaluru, India

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top