backgroundBlur method
Implementation
Widget backgroundBlur(
double sigma, {
Key? key,
bool animate = false,
}) =>
animate
? _StyledAnimatedBuilder(
key: key,
builder: (animation) {
return _AnimatedBackgroundBlur(
child: this,
sigma: sigma,
duration: animation.duration,
curve: animation.curve,
);
},
)
: BackdropFilter(
key: key,
filter: ImageFilter.blur(
sigmaX: sigma,
sigmaY: sigma,
),
child: this,
);