Skip to main content

pervice 1.2.0 copy "pervice: ^1.2.0" to clipboard
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.canRethrow to true by default, so loading errors are rethrown unless explicitly disabled.
  • Breaking: Renamed Service.notifyUpdated() to Service.notifyChanged().
  • Breaking: Removed Service.canDebugPrint and automatic error logging.
  • Made vsync optional in useTabController() and useAnimationController(), using useTickerProvider() when omitted.
2
likes
0
points
991
downloads

Publisher

verified publisherttangkong.dev

Weekly Downloads

A Flutter-native MVVM service layer that creates, loads, watches, shares, and disposes services according to the widget lifecycle.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

equatable, flutter

More

Packages that depend on pervice