BigTip constructor Null safety

const BigTip(
  1. {Key? key,
  2. Widget? child,
  3. double space = 22,
  4. double subtitleSpace = 8,
  5. EdgeInsets? padding,
  6. Widget? title,
  7. Widget? subtitle,
  8. Widget? action,
  9. VoidCallback? actionCallback}
)

Implementation

const BigTip({
  Key? key,
  this.child,
  this.space = 22,
  this.subtitleSpace = 8,
  this.padding,
  this.title,
  this.subtitle,
  this.action,
  this.actionCallback,
})  : assert(action != null || actionCallback == null),
      assert(child != null || title != null || subtitle != null),
      super(key: key);