dialog static method
Implementation
static GlassContainer dialog({
Key? key,
required Widget child,
double? width,
double? height,
EdgeInsetsGeometry? padding,
GlassType type = GlassType.frosted,
}) {
return GlassContainer(
key: key,
width: width,
height: height,
padding: padding ?? EdgeInsets.all(24.w),
type: type,
shape: GlassShape.roundedRectangle,
radius: 20.r,
shadowBlurRadius: 40.0,
shadowSpreadRadius: 0.0,
shadowOffset: const Offset(0, 20),
child: child,
);
}