discontinuedPackage collect has been discontinued and replaced by recollect.
Colour constructor
const
Colour(
{ - int alpha = 255,
- int red = 255,
- int green = 255,
- int blue = 255,
})
Implementation
const Colour({
this.alpha = 255,
this.red = 255,
this.green = 255,
this.blue = 255,
});