over static method

Color over(
  1. Color top,
  2. Color bottom
)

Composites a translucent top over an opaque bottom.

Implementation

static Color over(Color top, Color bottom) => Color.alphaBlend(top, bottom);