HcUpgradeNewVersionCard constructor
HcUpgradeNewVersionCard({
- Key? key,
- HcUpgradeNewVersion? hcUpgrade,
- EdgeInsetsGeometry? margin,
- int? maxLines = 15,
- BoolCallback? onIgnore,
- VoidCallback? onLater,
- BoolCallback? onUpdate,
- TextOverflow? overflow = TextOverflow.ellipsis,
- bool showIgnore = true,
- bool showLater = true,
- 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;