debug_window 1.0.9 copy "debug_window: ^1.0.9" to clipboard
debug_window: ^1.0.9 copied to clipboard

This debug_window is an open-source library, in other words, a useful widget to enable you to confirm log or stream data in your flutter application.

debug_window #

Flutter_Test codecov GitHub

Useful debug window widget for flutter. If you press the close icon, this debug window is minimized.

How to use #

DebugWindow(
    debugContent: Padding(
        padding: const EdgeInsets.all(8),
        child: Row(
            children: [
                Text(
                    'example: ${streamData}',
                    style: contentTextStyle,
                ),
            ],
        ),
    ),

Arguments #

debugContent: You give this argument some content you would like to represent on a screen in your flutter app.

backgroundColor: This value is a color of debug window. Default value is Colors.black.withOpacity(0.2).

isBottom: In the case that you wouldn't like to put on top, you change this value to true. Then debug window is represented on bottom.

isEnable: If you separate environment like dev and prod, this value is essential. When you choose false, this debug window is not visible.

Remark #

The text color in this debug window is black by default. Therefore, I recommend to specify the style of the character, like style: contentTextStyle.

3
likes
140
pub points
41%
popularity

Publisher

verified publisherryotaiwamoto.com

This debug_window is an open-source library, in other words, a useful widget to enable you to confirm log or stream data in your flutter application.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on debug_window