getMix method

  1. @override
Color? getMix(
  1. int value
)
override

Implementation

@override
Color? getMix(int value) {
  assert(value >= 0 && value <= 1000);
  final reversedValue = 1000 - value;
  return super.getMix(reversedValue);
}