ShaderTransitionSwitcher constructor
- Key? key,
- required Widget child,
- ShaderTransition transition = const DiamondTransition(),
- VoidCallback? onStart,
- VoidCallback? onComplete,
- ValueChanged<
double> ? onProgress,
Implementation
const ShaderTransitionSwitcher({
super.key,
required this.child,
this.transition = const DiamondTransition(),
this.onStart,
this.onComplete,
this.onProgress,
});