getOpacity method

Future<double> getOpacity()

Returns double - between 0.0 (fully transparent) and 1.0 (fully opaque).

Implementation

Future<double> getOpacity() async {
  return _target?.opacity ?? 1.0;
}