mosaic 1.0.5
mosaic: ^1.0.5 copied to clipboard
Mosaic is a modular architecture for Flutter that enables clean separation of features using dynamic modules, internal events, UI injection, and centralized builds
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate mosaic
Use it
The package has the following executables:
$ mosaic
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mosaic
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
mosaic: ^1.0.5
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:mosaic/mosaic.dart';