RibbonBackground constructor
const
RibbonBackground({ - Key? key,
- Color backgroundColor = Colors.transparent,
- List<RibbonSpec>? ribbonSpecs,
- int ribbonCount = 3,
- double baseAmplitude = 56.0,
- double speed = 0.5,
- double parallaxDepth = 0.22,
- double colorShiftSpeed = 0.08,
- bool enableBackdropBlur = true,
- double backdropBlurSigma = 8.0,
- Widget? child,
- Color? primaryForTint,
})
Implementation
const RibbonBackground({
super.key,
this.backgroundColor = Colors.transparent,
this.ribbonSpecs,
this.ribbonCount = 3,
this.baseAmplitude = 56.0,
this.speed = 0.5,
this.parallaxDepth = 0.22,
this.colorShiftSpeed = 0.08,
this.enableBackdropBlur = true,
this.backdropBlurSigma = 8.0,
this.child,
this.primaryForTint, // if null: inferred from first ribbon color
});