tiny_locator 1.0.0+2 copy "tiny_locator: ^1.0.0+2" to clipboard
tiny_locator: ^1.0.0+2 copied to clipboard

Tiny service locator that provides a global access point to services.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add tiny_locator

With Flutter:

 $ flutter pub add tiny_locator

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

dependencies:
  tiny_locator: ^1.0.0+2

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

Import it

Now in your Dart code, you can use:

import 'package:tiny_locator/tiny_locator.dart';
2
likes
140
pub points
34%
popularity

Publisher

verified publisherzuvola.com

Tiny service locator that provides a global access point to services.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on tiny_locator