AdaptiveScreen constructor

const AdaptiveScreen({
  1. Key? key,
  2. Widget? web,
  3. Widget? tablet,
  4. Widget? mobile,
})

Implementation

const AdaptiveScreen({
  Key? key,
  this.web,
  this.tablet,
  this.mobile,
})  : assert(!(mobile == null && tablet == null && web == null),
          "AdaptiveScreen widget must have at least one property"),
      super(key: key);