FespResponsiveLayout constructor

const FespResponsiveLayout({
  1. Key? key,
  2. Widget? xs,
  3. Widget? sm,
  4. Widget? md,
  5. Widget? lg,
  6. Widget? xl,
  7. Widget? xxl,
  8. bool parent = true,
})

Implementation

const FespResponsiveLayout({
  super.key,
  this.xs,
  this.sm,
  this.md,
  this.lg,
  this.xl,
  this.xxl,
  this.parent = true,
}) : assert(
        xs != null ||
            sm != null ||
            md != null ||
            lg != null ||
            xl != null ||
            xxl != null,
        'At least one widget must be set!',
      );