brightness property

Future<double> brightness

Static property to get the screen current brightness

Implementation

static Future<double> get brightness async =>
    (await _channel.invokeMethod('brightness')) as double;