ColorQueryEvent constructor

const ColorQueryEvent(
  1. int code,
  2. int r,
  3. int g,
  4. int b, {
  5. int? index,
})

Constructs a new instance of ColorQueryEvent.

Implementation

const ColorQueryEvent(this.code, this.r, this.g, this.b, {this.index});