Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhujiaming/flu_console
Display the flutter print log on the app
https://github.com/zhujiaming/flu_console
android flutter flutterpackage
Last synced: about 1 month ago
JSON representation
Display the flutter print log on the app
- Host: GitHub
- URL: https://github.com/zhujiaming/flu_console
- Owner: zhujiaming
- License: apache-2.0
- Created: 2022-12-23T08:27:16.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-31T06:20:16.000Z (5 months ago)
- Last Synced: 2024-07-31T07:43:18.363Z (5 months ago)
- Topics: android, flutter, flutterpackage
- Language: Dart
- Homepage:
- Size: 272 KB
- Stars: 8
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# flu_console
Let flutter print logs to display on the phone
## Getting Started
### step 1: init
```dart
FluConsole.run(() {
runApp(const App());
});//or passing in 'enableLog' parameters
FluConsole.run(() {
runApp(const App());
},enableLog: true);
```### step 2: show console enter button or show console Panel
```dart
FluConsole.showConsoleButton(context);
// or
Navigator.of(ctx).push(PageNavAnimBuilder(const LogPrintPanel()));
```### run example
```shell
cd ./example
flutter run
```## ScreenShot