SpreadingFrostImageSwitcher constructor

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

Implementation

const SpreadingFrostImageSwitcher({
  super.key,
  required this.current,
  required this.next,
  this.duration = const Duration(milliseconds: 900),
  this.curve = Curves.easeInOut,
  this.frostiness = 0.5,
  this.blurAmount = 2.0,
  this.onCompleted,
  this.controller,
  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),
});