📝Reification of drawing operations allows implementing Flutter layout model in a single pass

tags
#reification
found in
Gio

Gio reifies drawing as a list of operations (Ops). These Ops can be captured, replayed, transformed, etc.

Effectively, this allows implementing the Flutter layout model in a single pass:

  • widget appends its operations to the ops and returns its Size (Dimensions) to the caller
  • the caller (parent) can then retroactively apply transform to position the children

Backlinks