sergiandreplace / flutter_debug_drawer

Adds a side menu in all screens with debug information. You can decide which information to show and create new modules to include more information.

Home Page:https://pub.dartlang.org/packages/flutter_debug_drawer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutter_debug_drawer

A debug drawer menu for better development. This is an initial release with very few functionalities.

This project is heavily inspired on a similar project for Android (https://github.com/palaima/DebugDrawer)

Screenshot

Getting Started

Include the last version of the library in your pubspec.yaml:

    dependencies:
        flutter_debug_drawer: 0.1.1+1

Now, you can customize your debug drawer adding it to your main application object:

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter debug drawer demo',
      builder: DebugDrawerBuilder.build(modules: [
        PlatformModule(),
        MediaQueryModule(),
      ]),
      home: MyHomePage(),
    );
  }
}

Right now, only PlatformModule and MediaQueryModule are availables. More will come soon.

About

Adds a side menu in all screens with debug information. You can decide which information to show and create new modules to include more information.

https://pub.dartlang.org/packages/flutter_debug_drawer

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 94.9%Language:Swift 2.6%Language:Kotlin 2.2%Language:Objective-C 0.2%