Color constructor

const Color({
  1. double r = 0.0,
  2. double g = 0.0,
  3. double b = 0.0,
  4. double a = 1.0,
})

Implementation

const Color({this.r = 0.0, this.g = 0.0, this.b = 0.0, this.a = 1.0});