update package detal list and update cargo type input in carton section
This commit is contained in:
@@ -410,6 +410,11 @@ String removeTrailingZeros(double number) {
|
||||
return result;
|
||||
}
|
||||
|
||||
String twoDecimalFormatted(double number) {
|
||||
String formattedString = number.toStringAsFixed(2);
|
||||
return formattedString;
|
||||
}
|
||||
|
||||
bool isValidEmail(String email) {
|
||||
// Define a regular expression for validating an email
|
||||
final emailRegex = RegExp(r'^[^@\s]+@[^@\s]+\.[^@\s]+$');
|
||||
@@ -561,4 +566,3 @@ Widget settingRow(BuildContext context,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user