mosaic 1.0.4 copy "mosaic: ^1.0.4" to clipboard
mosaic: ^1.0.4 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

example/mosaic_example.dart

import 'package:flutter/material.dart';
import 'package:mosaic/mosaic.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  final entry = Main();
  await mosaic.registry.register(entry);
  mosaic.registry.initialize(entry, [entry]);

  runApp(const MaterialApp(home: MosaicScope()));
}

class Main extends Module {
  Main() : super(name: 'main');

  @override
  Widget build(BuildContext context) {
    return const Placeholder();
  }
}
3
likes
160
points
773
downloads

Publisher

verified publishermarcomit.it

Weekly Downloads

Mosaic is a modular architecture for Flutter that enables clean separation of features using dynamic modules, internal events, UI injection, and centralized builds

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

argv, flutter, path, yaml

More

Packages that depend on mosaic