getStatusBarColor static method

Future<Color?> getStatusBarColor()

Get the status bar background color.

Implementation

static Future<Color?> getStatusBarColor() =>
    _channel.invokeMethod('getstatusbarcolor').then((dynamic value) {
      return value == null ? null : Color(value);
    });