Add more asserts to check matrix validity (#31701)
## Description These will help identify where the matrix starts to get wrong. Also fixed `RenderFittexBox` to no longer paint with empty child which previously triggered invalid matrix computations (NaN with dividing by 0). See also https://github.com/flutter/flutter/pull/7489 ## Related Issues https://github.com/flutter/flutter/issues/31650 https://github.com/flutter/flutter/issues/31700 https://github.com/flutter/flutter/issues/7431 ## Tests * RenderFittedBox does not paint with empty sizes
L
liyuqian committed
0dc290c023d2de7d93162315baa1a0ba04e18b19
Parent: b37c3be
Committed by GitHub <noreply@github.com>
on 5/10/2019, 4:33:09 PM