builder static method
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,
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,
);
}