Utils 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
-
asBools(int? val, int bits)
→ List<bool?>
-
-
containsDate(List<DateTime> dates, DateTime targetDate)
→ bool
-
-
formatDate(DateTime date, {String? localeCode})
→ String
-
-
formatDateformatTime(DateTime date, {String? localeCode})
→ String
-
-
formatDateTime(DateTime date, {String? localeCode})
→ String
-
-
getDate(String date, DateFormat format)
→ String
-
-
getDegree(LatLng begin, LatLng end)
→ double
-
-
getImagePalette(ImageProvider<Object> imageProvider)
→ Future<Color>
-
-
getNiceDate(String date, DateFormat format, {String? localeCode})
→ String
-
-
getNiceDateMinus10(String date, DateFormat format, {String? localeCode})
→ String
-
-
getNiceSmallDate(String date, DateFormat format, {String? localeCode})
→ String
-
-
getNiceSmallDateNoHour(String date, DateFormat format, {String? localeCode})
→ String
-
-
getTime(dynamic date, dynamic format)
→ String
-
-
isExcludedDays(List<int> days, DateTime targetDate)
→ bool
-
-
isSameDay(DateTime dateA, DateTime dateB)
→ bool
-
-
isToday(DateTime other)
→ bool
-
-
isTomorrow(DateTime other)
→ bool
-
-
isWeekend(DateTime dateA)
→ bool
-
-
launchMaps(List<double> geolocation, String? name, {DirectionsMode? directionsMode})
→ dynamic
-
-
launchUrl(dynamic url)
→ dynamic
-
-
parseMeasure(double price)
→ String
-
-
parsePrice(dynamic p)
→ String
-
-
parsePriceCents(dynamic p)
→ String
-
-
rotate(List<Object> list, int v)
→ List<Object>
-
-
roundUp(int toRound)
→ int
-
-
sameCoordinate(LatLng coord1, LatLng coord2)
→ bool
-
-
showBottomPage(dynamic context, {Widget? content, bool dismissible = false, double? maxHeight})
→ dynamic
-
-
showBottomSheet(dynamic context, {Widget? content, bool dismissible = true, double? maxHeight, bool skipPadding = false})
→ Future
-
-
timeOfDayIsBefore(TimeOfDay a, TimeOfDay b)
→ bool
-
-
vibrateOnErrorTap()
→ dynamic
-
-
vibrateOnHeavyTap()
→ dynamic
-
-
vibrateOnImpact()
→ dynamic
-
-
vibrateOnTap()
→ dynamic
-