ResponsiveContainer constructor

const ResponsiveContainer({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. BoxConstraints constraints,
    3. ScreenSize screenSize
    ),
  3. Breakpoints breakpoints = const Breakpoints(),
  4. double? minWidth,
  5. double? minHeight,
  6. double? maxWidth,
  7. double? maxHeight,
  8. double? aspectRatio,
})

Creates a ResponsiveContainer widget.

Implementation

const ResponsiveContainer({
  super.key,
  required this.builder,
  this.breakpoints = const Breakpoints(),
  this.minWidth,
  this.minHeight,
  this.maxWidth,
  this.maxHeight,
  this.aspectRatio,
});