use_in_case 1.4.0 copy "use_in_case: ^1.4.0" to clipboard
use_in_case: ^1.4.0 copied to clipboard

Have you ever tried to follow a clean-architecture approach in your Project? If so, you probably have a lot of UseCases. This package will help you to use them in a more readable way. It's a simple pa [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add use_in_case

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

dependencies:
  use_in_case: ^1.4.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:use_in_case/use_in_case.dart';
3
likes
0
points
144
downloads

Publisher

unverified uploader

Weekly Downloads

Have you ever tried to follow a clean-architecture approach in your Project? If so, you probably have a lot of UseCases. This package will help you to use them in a more readable way. It's a simple package that provides a set of classes and functions to help you configuring your UseCases in a more flexible and readable way. It is designed to be used in combination with Business-Logic-Components (BLoC).

Repository (GitHub)
View/report issues

Topics

#dart #flutter #bloc #utility #clean-architecture

License

unknown (license)

Dependencies

dartz

More

Packages that depend on use_in_case