ShadowProcessor constructor

ShadowProcessor({
  1. Offset offset = const Offset(10, 10),
  2. double opacity = 0.9,
  3. Color color = const Color(0xFF000000),
})

Implementation

ShadowProcessor({
  this.offset = const Offset(10, 10),
  double opacity = 0.9,
  Color color = const Color(0xFF000000),
}) : _shadowPaint = Paint()
        ..colorFilter =
            ColorFilter.mode(color.withOpacity(opacity), BlendMode.srcATop);