Skip to main content

pervice 1.7.0 copy "pervice: ^1.7.0" to clipboard
pervice: ^1.7.0 copied to clipboard

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

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add pervice

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  pervice: ^1.7.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:pervice/pervice.dart';
2
likes
160
points
1.79k
downloads
screenshot

Documentation

API reference

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

Topics

#state-management #mvvm #flutter-architecture #reactive-programming #hooks

License

BSD-3-Clause (license)

Dependencies

equatable, flutter

More

Packages that depend on pervice