koin_devtools 0.2.0

Flutter Android iOS web

DevTools to inspect the state of Koin.dart scope instances.

koin_devtools #

A DevTools to Koin.dart.

Demo #

alt-text

Usage #

Just insert the KoinDevTools Widget somewhere in your application or use showDevTools.

class Page extends StatefulWidget {
  @override
  _PageState createState() => _PageState();
}

class _PageState extends State<Page> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
     /// Just insert the KoinDevTools
      endDrawer: KoinDevTools(),
      body: IconButton(icon: Text('DevTools'), onPressed: () {
        // Or use this
        showDevTools(context);
      },),
    );
  }
}
0
likes
80
pub points
27%
popularity

DevTools to inspect the state of Koin.dart scope instances.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

pedro.bissonho@gmail.com

License

unknown (LICENSE)

Dependencies

expandable, flutter, koin, koin_flutter, kt_dart

More

Packages that depend on koin_devtools