LiveBackgroundWidget constructor
const
LiveBackgroundWidget({
- Key? key,
- LiveBackgroundController? controller,
- Palette? palette,
- int? particleCount,
- double? velocityX,
- double? velocityY,
- double? particleMinSize,
- double? particleMaxSize,
- double blurSigmaX = 2,
- double blurSigmaY = 0,
- bool clipBoundary = true,
- bool fixSize = false,
- ParticleShapeType shape = ParticleShapeType.circle,
All Parameters are initial values. If you want to change the value after first build you should use controller.
Implementation
const LiveBackgroundWidget({
Key? key,
this.controller,
this.palette,
this.particleCount,
this.velocityX,
this.velocityY,
this.particleMinSize,
this.particleMaxSize,
this.blurSigmaX = 2,
this.blurSigmaY = 0,
this.clipBoundary = true,
this.fixSize = false,
this.shape = ParticleShapeType.circle,
}) : super(key: key);