commonFunctions class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
calculateStringLength(String input)
→ int
-
-
checkValidEmail(String email)
→ bool
-
-
convertStringToBase64String(String stringToBeConverted)
→ String
-
-
convertStringToColors(String colorCode)
→ Color
-
-
datePicker({required BuildContext context, bool? futureDates, bool? pastDates, String? locale, DateTime? firstDate})
→ dynamic
-
-
formatTime(String timestamp)
→ String
-
-
getCurrentDateTime()
→ dynamic
-
-
getFirstAndLastDateOfMonth(DateTime dateTime)
→ List<Map<String, dynamic>>
-
-
timePicker({required BuildContext context, String? title, TimeOfDay? initialTime, String? cancelText, String? confirmText, required TextEditingController controller})
→ Future<TimeOfDay?>
-