Is dark mode enabled - Widget
Utility nodes
Last updated
Utility nodes
Last updated
Released in version:
1.0.12
Flutter/Dart link:
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.
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 "Widget". If you require "Flow" outputs, you can use the node "Is dark mode enabled".
Inputs
connector
Flow
Allows to continue the flow in this node
Outputs
true
Widget
If the "condition" input is true, Widget continues through this output
false
Widget
If the "condition" input is false, Widget continues through this output