breakpoints property

List<double>? breakpoints
final

Custom breakpoints to categorize size into Tiers (XS, SM, MD, LG, XL). Default logic will be applied if null. Example: [200, 400, 600]

  • Width < 200 -> XS
  • 200 <= Width < 400 -> SM
  • ...

The List<double> must be sorted in ascending order.

Implementation

final List<double>? breakpoints;