AdaptiveScope constructor

const AdaptiveScope({
  1. Key? key,
  2. required Widget child,
  3. AdaptiveBreakpoints breakpoints = const AdaptiveBreakpoints(),
  4. DesignSize designSize = const DesignSize(),
  5. ScreenSizeBreakpoints screenSizeBreakpoints = const ScreenSizeBreakpoints(),
})

Creates an AdaptiveScope with the given configuration.

All configuration parameters are optional and will use sensible defaults.

Implementation

const AdaptiveScope({
  super.key,
  required this.child,
  this.breakpoints = const AdaptiveBreakpoints(),
  this.designSize = const DesignSize(),
  this.screenSizeBreakpoints = const ScreenSizeBreakpoints(),
});