clean_architecture_components 1.0.1 clean_architecture_components: ^1.0.1 copied to clipboard
Flutter clean architure base components.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add clean_architecture_components
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
clean_architecture_components: ^1.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:clean_architecture_components/base_repository/base_repository.dart';
import 'package:clean_architecture_components/base_use_case/use_case.dart';
import 'package:clean_architecture_components/clean_architecture.dart';
import 'package:clean_architecture_components/configuration/remote_configuration.dart';
import 'package:clean_architecture_components/error/error.dart';
import 'package:clean_architecture_components/error/exceptions.dart';
import 'package:clean_architecture_components/request_and_response_model/request_model.dart';
import 'package:clean_architecture_components/request_and_response_model/request_observer.dart';