Responsive constructor

const Responsive({
  1. Key? key,
  2. required Widget mobile,
  3. Widget? tablet,
  4. required Widget desktop,
})

Implementation

const Responsive({
  Key? key,
  required this.mobile,
  this.tablet,
  required this.desktop,
}) : super(key: key);