OpacityAttribute constructor Null safety

const OpacityAttribute(
  1. double opacity
)

Implementation

const OpacityAttribute(this.opacity);