DynamicColor constructor

DynamicColor(
  1. {int? r,
  2. int? g,
  3. int? b,
  4. double? opacity}
)

Creates a DynamicColor with the specified red r, green g, blue b, and optional opacity values.

Implementation

DynamicColor({this.r, this.g, this.b, this.opacity});