getFlex method

int getFlex(
  1. double containerWidth
)

Gets the flex value for the current breakpoint

Implementation

int getFlex(double containerWidth) {
  final responsive = FSResponsive.of(containerWidth);
  return size.getFlex(responsive.breakpoint);
}