setStatusBarWhiteForeground static method

Future<void> setStatusBarWhiteForeground(
  1. bool useWhiteForeground
)

Set the status bar foreground brightness. Set to true, the color of the text and icon will be white, otherwise black.

Implementation

static Future<void> setStatusBarWhiteForeground(bool useWhiteForeground) =>
    _channel.invokeMethod('setstatusbarwhiteforeground', {
      'whiteForeground': useWhiteForeground,
    });