HcUpgradeNewVersionCard constructor

HcUpgradeNewVersionCard({
  1. Key? key,
  2. HcUpgradeNewVersion? hcUpgrade,
  3. EdgeInsetsGeometry? margin,
  4. int? maxLines = 15,
  5. BoolCallback? onIgnore,
  6. VoidCallback? onLater,
  7. BoolCallback? onUpdate,
  8. TextOverflow? overflow = TextOverflow.ellipsis,
  9. bool showIgnore = true,
  10. bool showLater = true,
  11. bool showReleaseNotes = true,
})

Creates a new HcUpgradeNewVersionCard.

Implementation

HcUpgradeNewVersionCard({
  super.key,
  HcUpgradeNewVersion? hcUpgrade,
  this.margin,
  this.maxLines = 15,
  this.onIgnore,
  this.onLater,
  this.onUpdate,
  this.overflow = TextOverflow.ellipsis,
  this.showIgnore = true,
  this.showLater = true,
  this.showReleaseNotes = true,
}) : upgrade = hcUpgrade ?? HcUpgradeNewVersion.sharedInstance;