ResponsiveLayout.builder constructor

ResponsiveLayout.builder(
  1. BaseBreakpoints<WidgetBuilder?> breakpoints, {
  2. Axis axis = Axis.horizontal,
  3. Key? key,
})

Creates a Widget that chooses another Widget to display based on the screen size using a WidgetBuilder.

Implementation

ResponsiveLayout.builder(
  BaseBreakpoints<WidgetBuilder?> breakpoints, {
  this.axis = Axis.horizontal,
  Key? key,
}) : _breakpoints = breakpoints;