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

found in

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


Want to receive my 🖋 posts as I publish them?