koin_devtools 0.2.0 copy "koin_devtools: ^0.2.0" to clipboard
koin_devtools: ^0.2.0 copied to clipboard

outdated

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);
      },),
    );
  }
}
3
likes
0
pub points
36%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

expandable, flutter, koin, koin_flutter, kt_dart

More

Packages that depend on koin_devtools