soft method

Color soft(
  1. Color color, {
  2. double amount = 0.12,
})

Creates an opaque subtle version of color.

Implementation

Color soft(Color color, {double amount = 0.12}) {
  return _mix(background, color, amount);
}