ResponsiveLayoutBuilder constructor

const ResponsiveLayoutBuilder({
  1. Key? key,
  2. required List<Widget> children,
  3. required Widget xs(
    1. BuildContext context,
    2. List<Widget> children
    ),
  4. Widget sm(
    1. BuildContext context,
    2. List<Widget> children
    )?,
  5. Widget md(
    1. BuildContext context,
    2. List<Widget> children
    )?,
  6. Widget lg(
    1. BuildContext context,
    2. List<Widget> children
    )?,
  7. Widget xl(
    1. BuildContext context,
    2. List<Widget> children
    )?,
})

Implementation

const ResponsiveLayoutBuilder({
  Key? key,
  required this.children,
  required this.xs,
  this.sm,
  this.md,
  this.lg,
  this.xl,
}) : super(key: key);