Is dark mode enabled
Utility nodes
Condition | Value |
---|---|
Released in version: | 1.0.12 |
Flutter/Dart link: |
The "Is dark mode enabled" node is a utility node that allows to verify if the device on which the application is running is in "Dark" or "Light" mode.
This is particularly useful in mobile devices where the dark mode has become one of the most used by users at night.
In this node the outputs are of type "Flow". If you require "Widget" outputs, you can use the node "Is dark mode enabled - Widget".
Inputs
Input name | Canvas Required | Type | Description |
---|---|---|---|
connector | Flow | Allows to continue the flow in this node |
Outputs
Output name | Canvas Required | Type | Description |
---|---|---|---|
true | Flow | If the "condition" input is true, flow continues through this output | |
false | Flow | If the "condition" input is false, flow continues through this output |
Last updated