|
|
|
@ -38,7 +38,7 @@ extension DatePerse on String {
|
|
|
|
'NOV': '11',
|
|
|
|
'NOV': '11',
|
|
|
|
'DEC': '12',
|
|
|
|
'DEC': '12',
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
var split = this.split('-');
|
|
|
|
var split = this.split('-');
|
|
|
|
String first = split[0];
|
|
|
|
String first = split[0];
|
|
|
|
String second = split[1].substring(0, 3);
|
|
|
|
String second = split[1].substring(0, 3);
|
|
|
|
@ -162,8 +162,9 @@ extension EmailValidator on String {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
Widget toText17({Color? color, bool isBold = false}) => Text(
|
|
|
|
Widget toText17({Color? color, bool isBold = false, bool isCentered = false}) => Text(
|
|
|
|
this,
|
|
|
|
this,
|
|
|
|
|
|
|
|
textAlign: isCentered ? TextAlign.center : null,
|
|
|
|
style: TextStyle(color: color ?? MyColors.darkTextColor, fontSize: 17, letterSpacing: -0.68, fontWeight: isBold ? FontWeight.bold : FontWeight.w600),
|
|
|
|
style: TextStyle(color: color ?? MyColors.darkTextColor, fontSize: 17, letterSpacing: -0.68, fontWeight: isBold ? FontWeight.bold : FontWeight.w600),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
@ -196,12 +197,11 @@ extension EmailValidator on String {
|
|
|
|
style: TextStyle(height: 1, color: color ?? MyColors.darkTextColor, fontSize: 22, letterSpacing: -1.44, fontWeight: isBold ? FontWeight.bold : FontWeight.w600),
|
|
|
|
style: TextStyle(height: 1, color: color ?? MyColors.darkTextColor, fontSize: 22, letterSpacing: -1.44, fontWeight: isBold ? FontWeight.bold : FontWeight.w600),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Widget toText23({Color? color, bool isBold = false, bool isCentered = false}) => Text(
|
|
|
|
Widget toText23({Color? color, bool isBold = false, bool isCentered = false}) => Text(
|
|
|
|
this,
|
|
|
|
this,
|
|
|
|
textAlign: isCentered ? TextAlign.center : null,
|
|
|
|
textAlign: isCentered ? TextAlign.center : null,
|
|
|
|
style: TextStyle(height: 23 / 24, color: color ?? MyColors.darkTextColor, fontSize: 23, letterSpacing: -0.92, fontWeight: isBold ? FontWeight.bold : FontWeight.w600),
|
|
|
|
style: TextStyle(height: 23 / 24, color: color ?? MyColors.darkTextColor, fontSize: 23, letterSpacing: -0.92, fontWeight: isBold ? FontWeight.bold : FontWeight.w600),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
Widget toText24({Color? color, bool isBold = false, bool isCentered = false}) => Text(
|
|
|
|
Widget toText24({Color? color, bool isBold = false, bool isCentered = false}) => Text(
|
|
|
|
this,
|
|
|
|
this,
|
|
|
|
|