ResponsiveComponent constructor

const ResponsiveComponent({
  1. required Widget mobile(
    1. BuildContext context,
    2. BoxConstraints constraints
    ),
  2. Widget tablet(
    1. BuildContext context,
    2. BoxConstraints constraints
    )?,
  3. Widget desktop(
    1. BuildContext context,
    2. BoxConstraints constraints
    )?,
  4. Key? key,
})

Implementation

const ResponsiveComponent(
    {required this.mobile, this.tablet, this.desktop, super.key});