ResponsiveBreakpoint constructor Null safety

  1. @visibleForTesting
const ResponsiveBreakpoint(
  1. {required double breakpoint,
  2. String? name,
  3. ResponsiveBreakpointBehavior behavior = ResponsiveBreakpointBehavior.RESIZE,
  4. double scaleFactor = 1}
)

Implementation

@visibleForTesting
const ResponsiveBreakpoint(
    {required this.breakpoint,
    this.name,
    this.behavior = ResponsiveBreakpointBehavior.RESIZE,
    this.scaleFactor = 1});