Resolve all lints and deprecation warnings

This commit is contained in:
2026-01-09 10:04:51 -06:00
parent 512577b092
commit a799e9cf59
56 changed files with 2819 additions and 3159 deletions

View File

@@ -64,13 +64,13 @@ enum PadType {
@HiveField(1)
regular,
@HiveField(2)
super_pad,
superPad,
@HiveField(3)
overnight,
@HiveField(4)
tampon_regular,
tamponRegular,
@HiveField(5)
tampon_super,
tamponSuper,
@HiveField(6)
menstrualCup,
@HiveField(7)
@@ -86,13 +86,13 @@ extension PadTypeExtension on PadType {
return 'Liner';
case PadType.regular:
return 'Regular Pad';
case PadType.super_pad:
case PadType.superPad:
return 'Super Pad';
case PadType.overnight:
return 'Overnight';
case PadType.tampon_regular:
case PadType.tamponRegular:
return 'Tampon (Regular)';
case PadType.tampon_super:
case PadType.tamponSuper:
return 'Tampon (Super)';
case PadType.menstrualCup:
return 'Cup';