SpreadingFrostImageSwitcher constructor
const
SpreadingFrostImageSwitcher({
- Key? key,
- required Widget current,
- required Widget next,
- Duration duration = const Duration(milliseconds: 900),
- Curve curve = Curves.easeInOut,
- double frostiness = 0.5,
- double blurAmount = 2.0,
- VoidCallback? onCompleted,
- SpreadingFrostController? controller,
- double ringWidth = 0.12,
- double ringIrregularity = 0.25,
- double ringNoiseScale = 1.0,
- double bloomStrength = 0.35,
- double bloomWidth = 10.0,
- 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),
});