mosaic_devtools 0.0.2 copy "mosaic_devtools: ^0.0.2" to clipboard
mosaic_devtools: ^0.0.2 copied to clipboard

The official development toolkit for Mosaic.

Mosaic DevTools #

Interactive debugging and visualization tools for Mosaic modular Flutter applications.

Features #

  • Module Inspector - Real-time module lifecycle and state monitoring
  • Event Monitor - Live event stream with pattern matching visualization
  • Dependency Viewer - Interactive dependency injection container explorer
  • Navigation Stack - Internal routing and stack management inspector

Installation #

dev_dependencies:
  mosaic_devtools: ^1.0.0

Quick Start #

import 'package:mosaic_devtools/mosaic_devtools.dart';

void main() async {
  await logger.init(/*...*/);
  
  if (kDebugMode) {
    MosaicDevtools.init();
  }
  
  runApp(MyApp());
}

Usage #

Overlay Mode:

Widget build(BuildContext context) {
  return MosaicDevtools.wrap(
    child: MosaicScope(),
    position: DevtoolsPosition.bottomRight,
  );
}

What You'll See #

  • Active modules and their current states
  • Real-time event emissions with data payloads
  • Dependency injection registrations and retrievals
  • Module navigation stack changes
  • Logger output with filtering by tags

Perfect for development, debugging, and understanding your Mosaic architecture.


Note: DevTools are automatically excluded from release builds and have zero production impact.

0
likes
130
points
211
downloads

Publisher

verified publishermarcomit.it

Weekly Downloads

The official development toolkit for Mosaic.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, mosaic

More

Packages that depend on mosaic_devtools