flutter_debug drawer
a debug_drawer menu for better development. this is an initial release with very few functionalities.
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.
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.
Comments are closed.