setFillOpacity method

Future<void> setFillOpacity(
  1. double fillOpacity
)

The opacity of the entire fill layer. In contrast to the fill-color, this value will also affect the 1px stroke around the fill, if the stroke is used. Default value: 1. Value range: 0, 1

Implementation

Future<void> setFillOpacity(double fillOpacity) =>
    _annotationMessenger.setFillOpacity(id, fillOpacity);