modulate method

Widget modulate({
  1. Color? color,
  2. BlendMode mode = BlendMode.overlay,
  3. List<double>? matrix,
  4. Color? colorFrom,
  5. List<double>? fromMatrix,
})

Applies an ColorFilterEffect to a Widget.

Implementation

Widget modulate({
  Color? color,
  BlendMode mode = BlendMode.overlay,
  List<double>? matrix,
  Color? colorFrom,
  List<double>? fromMatrix,
}) =>
    this.color(
      color: color,
      mode: mode,
      matrix: matrix,
      colorFrom: colorFrom,
      fromMatrix: fromMatrix,
    );