Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/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.
https://github.com/sergiandreplace/flutter_debug_drawer
dart debug developer-tools flutter flutter-lib
Last synced: about 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/sergiandreplace/flutter_debug_drawer
- Owner: sergiandreplace
- License: bsd-3-clause
- Created: 2019-04-25T17:31:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-21T11:58:19.000Z (almost 3 years ago)
- Last Synced: 2023-08-20T21:57:57.688Z (over 1 year ago)
- Topics: dart, debug, developer-tools, flutter, flutter-lib
- Language: Dart
- Homepage: https://pub.dartlang.org/packages/flutter_debug_drawer
- Size: 120 KB
- Stars: 27
- Watchers: 3
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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)
## 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.