services library
Classes
- BuildContextResolver
- DeviceInfo
- GeoPoint
- IAuthState
- InfoX
-
Inst<
T extends Object> - Class used for defining container instances
- IUserPreferencesService
- LifecycleAware
- LifecycleAwareBase
- SunnyCore
- Context holder for sunny-related services
- SunnyGet
- Base interface for doing service lookups. This can work with the provider package, or a injector framework like kiwi
- SunnyGetLib
- Makes it easier to import
- SunnyLocalization
- Based on the timezone package - provides the user's timezone and location (not GPS, just generalized)
Enums
Mixins
Extensions
Properties
- infoX → InfoX
-
no setter
- sunny ↔ SunnyGet
-
getter/setter pair
- sunnyLocalization → SunnyLocalization
-
Global getter for the sunny localization object. Requires that the
instance has been registered with a SunnyGet container somewhere.
no setter
Typedefs
- AsyncOrCallback = FutureOr Function()
-
InstDispose<
T> = FutureOr Function(T t) -
InstInitFn<
T> = T Function(BuildContext context) -
LifecycleCallback<
T> = FutureOr< T> Function() -
ShouldNotify<
T> = bool Function(T a, T b)