FSResponsive constructor

const FSResponsive({
  1. required double screenWidth,
  2. FSCustomBreakpoints breakpoints = const FSCustomBreakpoints(),
})

Implementation

const FSResponsive({
  required this.screenWidth,
  this.breakpoints = const FSCustomBreakpoints(),
}) : assert(screenWidth >= 0, 'Screen width cannot be negative');