UpgradeCard constructor

UpgradeCard({
  1. Key? key,
  2. Upgrader? upgrader,
  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 UpgradeCard.

Implementation

UpgradeCard({
  super.key,
  Upgrader? upgrader,
  this.margin,
  this.maxLines = 15,
  this.onIgnore,
  this.onLater,
  this.onUpdate,
  this.overflow = TextOverflow.ellipsis,
  this.showIgnore = true,
  this.showLater = true,
  this.showReleaseNotes = true,
}) : upgrader = upgrader ?? Upgrader.sharedInstance;