SpreadingFrostWidget constructor

const SpreadingFrostWidget({
  1. Key? key,
  2. required Widget current,
  3. required Widget next,
  4. SpreadingFrostController? controller,
  5. Duration duration = const Duration(milliseconds: 900),
  6. Curve curve = Curves.easeInOut,
  7. double frostiness = 0.5,
  8. double blurAmount = 2.0,
  9. double ringWidth = 0.12,
  10. double ringIrregularity = 0.25,
  11. double ringNoiseScale = 1.0,
  12. double bloomStrength = 0.35,
  13. double bloomWidth = 10.0,
  14. Color bloomColor = const Color(0xCCFFFFFF),
  15. VoidCallback? onCompleted,
})

Implementation

const SpreadingFrostWidget({
  super.key,
  required this.current,
  required this.next,
  this.controller,
  this.duration = const Duration(milliseconds: 900),
  this.curve = Curves.easeInOut,
  this.frostiness = 0.5,
  this.blurAmount = 2.0,
  this.ringWidth = 0.12,
  this.ringIrregularity = 0.25,
  this.ringNoiseScale = 1.0,
  this.bloomStrength = 0.35,
  this.bloomWidth = 10.0,
  this.bloomColor = const Color(0xCCFFFFFF),
  this.onCompleted,
});