use_in_case 0.1.0
use_in_case: ^0.1.0 copied to clipboard
An extendable library that provides functionality for use cases
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add use_in_caseWith Flutter:
$ flutter pub add use_in_caseThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
use_in_case: ^0.1.0Alternatively, 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:use_in_case/use_in_case.dart';