Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

LayoutBuilder Does Not Support Returning Intrinsic Dimensions

You put auto-sizing text in a Table cell, hot-reloaded, and got this: LayoutBuilder does not support returning intrinsic dimensions.

  • LayoutBuilder cannot return intrinsic dimensions like height or width.
  • Attempting to return intrinsic dimensions results in error about mutating render tree.
  • Flutter provides alternative protocol using computeMaxIntrinsicHeight method.

Let's build a compressor from scratch

  • Compressor converts JSON to binary format for efficient data storage
  • DEFLATE algorithm uses Huffman coding and LZ77 for data compression
  • 580-line Rust implementation compresses book from 622 KB to 366 KB

More from Wednesday 2 September →