setCustomBreakpoints method

void setCustomBreakpoints(
  1. ScreenBreakpoints? customBreakpoints, {
  2. RefinedBreakpoints? customRefinedBreakpoints,
})

Set the breakPoints which will then be returned through the breakpoints

Implementation

void setCustomBreakpoints(
  ScreenBreakpoints? customBreakpoints, {
  RefinedBreakpoints? customRefinedBreakpoints,
}) {
  _customBreakPoints = customBreakpoints;
  if (customRefinedBreakpoints != null) {
    _customRefinedBreakPoints = customRefinedBreakpoints;
  }
}