singleton_generator 0.2.0 copy "singleton_generator: ^0.2.0" to clipboard
singleton_generator: ^0.2.0 copied to clipboard

A class generator for `singleton_class_annotation`. Without this package `@SingletonClass` will not work.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add singleton_generator

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

dependencies:
  singleton_generator: ^0.2.0

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

Import it

Now in your Dart code, you can use:

import 'package:singleton_generator/singleton_generator.dart';
0
likes
10
pub points
0%
popularity

Publisher

verified publishergihwan.com

A class generator for `singleton_class_annotation`. Without this package `@SingletonClass` will not work.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (LICENSE)

Dependencies

analyzer, build, singleton_annotation, source_gen

More

Packages that depend on singleton_generator