Utils class

Constructors

Utils.new()

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

CustomDateFormat({dynamic format, dynamic date}) String
getCurrencyFormated(dynamic amount) String
getFormatedDateDD(dynamic dateToFormat) String
getFormatedDateDDMMYYYY(dynamic dateToFormat) String
getFormatedDateDDMMYYYYT(dynamic dateToFormat) String
getFormatedDateForEvent(dynamic dateToFormat, {String? otherCondiation, String? otherString}) String
getFormatedDateSMSLOGDDMM(dynamic dateToFormat) String
getFormatedDateSMSLOGMMYYYY(dynamic dateToFormat) String
getFormatedDateY(dynamic dateToFormat) String
getFormatedMonthAndYear(dynamic timeToFormat) String
getFormatedTimeDay(dynamic timeToFormat) String
getFormatedTimeDayT(String timeToFormat) String
getFormatedTimeHHMM(dynamic timeToFormat) String
getFormatedTimeHHMMT(String timeToFormat) String
getFormatedWeekDate(DateTime dateTime, int dayNo) DateTime
getFormattedTime(TimeOfDay time) String
Formats a TimeOfDay object to HH:mm AM/PM string.
getFromDateToDateForEvent({required String fromDate, required String toDate}) String
isValieMobile(String value) bool
joinDateTime({required DateTime date, required TimeOfDay time}) DateTime
launchCallUrl(String _url) → void
launchMailUrl(String _url) → void
launchURL(String _url) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseDDMMYYYYToDate(String date) DateTime?
parseTime(String time) TimeOfDay?
replaceIcon(String CODE) Future<void>
setStatusColor(dynamic status) Color
stringToTimeOfDay(String time) TimeOfDay
timeDiffrenceForNotification({required DateTime FromTime, required DateTime toTime}) String
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

byteCodeToPdfConverter({required String byteCode, required String fileName}) Future<File>
copyToClipboard({required String text}) → void

Constants

channel → const MethodChannel