• Hixie's avatar
    More BoxConstraints asserts · 29654016
    Hixie authored
    The asserting will continue until morale improves!
    
    * Convert all assert(*.isNormalized) checks to use the new
      debugAssertIsNormalized technology.
    * Convert CustomMultiChildLayout to use the new RenderingError
      technology to greatly improve the detail in errors you get when
      writing CustomMultiChildLayout delegates.
    * Add BoxConstraints.copyWith().
    * Indent the descendants in the rendering exception data dump so that
      when you have multiple children it's clearer what's going on.
    29654016
custom_layout.dart 8.28 KB