glassMorphic method
Extension method to directly access VxGlassmorphic with any widget without wrapping or with dot operator.
Implementation
Widget glassMorphic({
Key? key,
double? width,
double? height,
BoxBorder? border,
BorderRadius? borderRadius,
double? opacity = 0.05,
double? shadowStrength = 4,
double? circularRadius = 10,
double? blur = 5,
}) =>
VxGlassmorphic(
blur: blur,
border: border,
borderRadius: borderRadius,
width: width,
height: height,
key: key,
opacity: opacity,
shadowStrength: shadowStrength,
circularRadius: circularRadius,
child: this,
);