builder static method

Widget builder(
  1. Widget? child, {
  2. List<ResponsiveBreakpoint>? breakpoints,
  3. List<ResponsiveBreakpoint>? breakpointsLandscape,
  4. List<ResponsiveTargetPlatform>? landscapePlatforms,
  5. double minWidth = 450,
  6. double? maxWidth,
  7. String? defaultName,
  8. bool defaultScale = false,
  9. double defaultScaleFactor = 1,
  10. double? minWidthLandscape,
  11. bool useShortestSide = false,
  12. double? maxWidthLandscape,
  13. String? defaultNameLandscape,
  14. bool? defaultScaleLandscape,
  15. double? defaultScaleFactorLandscape,
  16. Widget? background,
  17. Color? backgroundColor,
  18. MediaQueryData? mediaQueryData,
  19. Alignment alignment = Alignment.topCenter,
  20. bool debugLog = false,
})

Implementation

static Widget builder(
  Widget? child, {
  List<ResponsiveBreakpoint>? breakpoints,
  List<ResponsiveBreakpoint>? breakpointsLandscape,
  List<ResponsiveTargetPlatform>? landscapePlatforms,
  double minWidth = 450,
  double? maxWidth,
  String? defaultName,
  bool defaultScale = false,
  double defaultScaleFactor = 1,
  double? minWidthLandscape,
  bool useShortestSide = false,
  double? maxWidthLandscape,
  String? defaultNameLandscape,
  bool? defaultScaleLandscape,
  double? defaultScaleFactorLandscape,
  Widget? background,
  Color? backgroundColor,
  MediaQueryData? mediaQueryData,
  Alignment alignment = Alignment.topCenter,
  bool debugLog = false,
}) {
  return ResponsiveWrapper(
    breakpoints: breakpoints,
    breakpointsLandscape: breakpointsLandscape,
    landscapePlatforms: landscapePlatforms,
    minWidth: minWidth,
    maxWidth: maxWidth,
    defaultName: defaultName,
    useShortestSide: useShortestSide,
    defaultScale: defaultScale,
    defaultScaleFactor: defaultScaleFactor,
    minWidthLandscape: minWidthLandscape,
    maxWidthLandscape: maxWidthLandscape,
    defaultNameLandscape: defaultNameLandscape,
    defaultScaleLandscape: defaultScaleLandscape,
    defaultScaleFactorLandscape: defaultScaleFactorLandscape,
    background: background,
    backgroundColor: backgroundColor,
    mediaQueryData: mediaQueryData,
    shrinkWrap: false,
    alignment: alignment,
    debugLog: debugLog,
    child: child,
  );
}