ResponsiveFramework icon indicating copy to clipboard operation
ResponsiveFramework copied to clipboard

ResponsiveGrid Padding Exceeds Width Assertion Error

Open rayliverified opened this issue 3 years ago • 0 comments

TODO: Investigate whether a hard assertion and error is necessary for when padding exceeds grid view width. Perhaps a safer way is to log a warning and not throw an error. responsive_grid.dart Line 81

      // The maximum width available for items.
      double crossAxisExtent = constraints.maxWidth - paddingHolder.horizontal;
      assert(crossAxisExtent > 0,
          '$paddingHolder exceeds layout width (${constraints.maxWidth})');

rayliverified avatar Mar 15 '21 01:03 rayliverified