pervice 1.2.0
pervice: ^1.2.0 copied to clipboard
A Flutter-native MVVM service layer that creates, loads, watches, shares, and disposes services according to the widget lifecycle.
1.0.0 #
- Initial release of Pervice.
- Successor to
mvvm_service. - Redesigned around Flutter widget lifecycle and providerless services.
1.1.0 #
- Added
Service.request()for one-time data requests that require a result. - Added
Service.requestOrNull()for one-time data requests with an optional result.
1.2.0 #
- Breaking: Changed
Service.canRethrowtotrueby default, so loading errors are rethrown unless explicitly disabled. - Breaking: Renamed
Service.notifyUpdated()toService.notifyChanged(). - Breaking: Removed
Service.canDebugPrintand automatic error logging. - Made
vsyncoptional inuseTabController()anduseAnimationController(), usinguseTickerProvider()when omitted.