PulseEffect constructor

const PulseEffect({
  1. Color from = const Color(0xFFf4f4f4),
  2. Color to = const Color(0xFFe5e5e5),
  3. double lowerBound = 0.0,
  4. double upperBound = 1.0,
  5. Duration duration = const Duration(milliseconds: 1000),
})

Default constructor

Implementation

const PulseEffect({
  this.from = const Color(0xFFf4f4f4),
  this.to = const Color(0xFFe5e5e5),
  super.lowerBound,
  super.upperBound,
  super.duration = const Duration(milliseconds: 1000),
}) : super(reverse: true);