licensesPackageDetailText method
- int licenseCount
override
Subtitle for a package in the LicensePage widget.
Implementation
@override
String licensesPackageDetailText(int licenseCount) {
assert(licenseCount >= 0);
return switch (licenseCount) {
0 => 'No licenses.',
1 => '1 license.',
_ => '$licenseCount licenses.',
};
}