> For the complete documentation index, see [llms.txt](https://waoo-app-builder.gitbook.io/waoo-app-builder/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://waoo-app-builder.gitbook.io/waoo-app-builder/nodes/utilities/is-dark-mode-enabled-widget.md).

# Is dark mode enabled - Widget

Utility nodes

| Condition            | Value                                                                          |
| -------------------- | ------------------------------------------------------------------------------ |
| Released in version: | 1.0.12                                                                         |
| Flutter/Dart link:   | <https://api.flutter.dev/flutter/widgets/MediaQuery/platformBrightnessOf.html> |

<figure><img src="https://3643579705-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzuDhZpUY3uOO3NssfE1O%2Fuploads%2FPJPfo5CKGJKrgplBptiA%2FIsDarkModeEnabledWidget.png?alt=media&amp;token=bbec2bd1-91b5-4e1f-93d1-d966a1d97abc" alt=""><figcaption><p>Is dark mode enabled - Widget default node</p></figcaption></figure>

The "Is dark mode enabled - Widget" node is a utility node that allows to verify if the device on which the application is running is in "Dark" or "Light" mode.&#x20;

This is particularly useful in mobile devices where the dark mode has become one of the most used by users at night.&#x20;

In this node the outputs are of type "Widget". If you require "Flow" outputs, you can use the node "Is dark mode enabled".

**Inputs**

<table><thead><tr><th>Input name</th><th width="150" data-type="checkbox">Canvas Required</th><th width="150">Type</th><th>Description</th></tr></thead><tbody><tr><td>connector</td><td>true</td><td>Flow</td><td>Allows to continue the flow in this node</td></tr></tbody></table>

**Outputs**

<table><thead><tr><th>Output name</th><th width="150" data-type="checkbox">Canvas Required</th><th width="150">Type</th><th>Description</th></tr></thead><tbody><tr><td>true</td><td>true</td><td>Widget</td><td>If the "condition" input is <strong>true</strong>, Widget continues through this output</td></tr><tr><td>false</td><td>true</td><td>Widget</td><td>If the "condition" input is <strong>false</strong>, Widget continues through this output</td></tr></tbody></table>
