services library
Classes
- ContentServiceSpec
- GlobalIconResolver
- IAnalyticsService
- Service that acts as a clearing house for analytics providers
- IconResolver
- NamedIcon
- NamedIconContainer
- Allows for simple lookup of icons by name. Implement this container and add fields for a more performant solution
Extensions
Constants
- kTileIconDenseSize → const double
- kTileIconSize → const double
Properties
- analyticsService → IAnalyticsService
-
no setter
- contentService → ContentServiceSpec
-
no setter
- dateFormatMonthDay → DateFormat
-
final
- dateFormatNoYear → DateFormat
-
final
- dateFormatWithYear → DateFormat
-
final
- isoDateFormat → DateFormat
-
final
- monthYear → DateFormat
-
final
- NamedIcons ↔ NamedIconContainer
-
getter/setter pair
Functions
-
formatDateTimeSameDay(
TZDateTime dateTime) → String -
formatDateTimeSameYear(
TZDateTime dateTime) → String -
formatDateTimeWithYear(
TZDateTime dateTime) → String -
icon(
String name, IconData ios, IconData iosSolid) → NamedIcon -
smartDateFormat(
DateTime? dateTime, {bool? formatTime, bool useToday = true}) → String? -
smartDateTimeFormat(
DateTime dateTime) → String -
tileIconSize(
{bool dense = false}) → double -
tzDateTime(
DateTime dateTime) → TZDateTime