marcglasberg/assorted_layout_widgets

FitHorizontally division by zero with shrinkLimit: 0.0

passsy opened this issue · 1 comments

This combination results in a division by zero

FitHorizontally(
  fitsHeight: false,
  shrinkLimit: 0.0,
  child: //...
)

maxWidth: (intrinsicHeight * constraints.maxWidth / constraints.maxHeight) /
shrinkLimit,

Fixed: version 1.1.3.