cornerstone 2.0.0-nullsafety.14 cornerstone: ^2.0.0-nullsafety.14 copied to clipboard
A library written in pure dart to help devs set up dart projects with a proper architecture without having to write a lot of boilerplate code. Inspired by clean architecture.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add cornerstone
With Flutter:
$ flutter pub add cornerstone
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
cornerstone: ^2.0.0-nullsafety.14
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:cornerstone/cornerstone.dart';