opacity method

Niku opacity(
  1. double opacity
)

Apply opacity to widget

Equivalent to:

Opacity(
  opacity: input
)

Implementation

Niku opacity(double opacity) =>
    Niku(Opacity(opacity: opacity, child: this._widget));