TitleActions constructor Null safety

TitleActions(
  1. {Key? key,
  2. TitleActionTheme? theme,
  3. GestureTapCallback? onConfirm,
  4. GestureTapCallback? onCancel,
  5. String? cancel,
  6. String? confirm,
  7. String? title}
)

Implementation

TitleActions({
  Key? key,
  TitleActionTheme? theme,
  this.onConfirm,
  this.onCancel,
  this.cancel,
  this.confirm,
  this.title,
})  : this.theme = theme ?? const TitleActionTheme(),
      super(key: key);