UpgradeCard constructor
UpgradeCard({
- Key? key,
- Upgrader? upgrader,
- 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 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;