ConnectivityScreenWrapper constructor

const ConnectivityScreenWrapper({
  1. Key? key,
  2. Widget? child,
  3. Color? color,
  4. Decoration? decoration,
  5. String? message,
  6. TextStyle? messageStyle,
  7. double? height,
  8. TextAlign? textAlign,
  9. Duration? duration,
  10. PositionOnScreen positionOnScreen = PositionOnScreen.BOTTOM,
  11. bool disableInteraction = false,
  12. Widget? disableWidget,
})

Implementation

const ConnectivityScreenWrapper({
  Key? key,
  this.child,
  this.color,
  this.decoration,
  this.message,
  this.messageStyle,
  this.height,
  this.textAlign,
  this.duration,
  this.positionOnScreen = PositionOnScreen.BOTTOM,
  this.disableInteraction = false,
  this.disableWidget,
})  : assert(
          color == null || decoration == null,
          'Cannot provide both a color and a decoration\n'
          'The color argument is just a shorthand for "decoration: new BoxDecoration(color: color)".'),
      super(key: key);