arch_foundations 0.1.2 arch_foundations: ^0.1.2 copied to clipboard
Flutter architecture foundations I use in my apps. Work in progress.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add arch_foundations
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
arch_foundations: ^0.1.2
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:arch_foundations/api_response.dart';
import 'package:arch_foundations/arch/bloc.dart';
import 'package:arch_foundations/arch/bloc_provider.dart';
import 'package:arch_foundations/arch/bloc_user_state.dart';
import 'package:arch_foundations/arch/dependant_stream.dart';
import 'package:arch_foundations/arch/network_bound_resource.dart';
import 'package:arch_foundations/arch/network_bound_resource_client.dart';
import 'package:arch_foundations/mixin/snackbarer.dart';
import 'package:arch_foundations/mixin/snackbarer_mixin.dart';
import 'package:arch_foundations/resource.dart';