forceDarkMode property

AFConfigurationItemTrueFalse forceDarkMode
final

Used to start the app in dark mode, rather than having to configure the device/emulator for dark mode.

Implementation

static final forceDarkMode = AFConfigurationItemTrueFalse(
  libraryId: AFUILibraryID.id,
  name: "force-dark-mode",
  validContexts: AFConfigurationItem.validContextsAllButNew,
  ordinal: 300.0,
  help: "Set to true if you'd like to run the app in dark mode, regardless of the device setting",
  defaultValue: false);