overlay static method

GlassContainer overlay({
  1. Key? key,
  2. required Widget child,
  3. GlassType type = GlassType.smoky,
  4. VoidCallback? onTap,
})

Implementation

static GlassContainer overlay({
  Key? key,
  required Widget child,
  GlassType type = GlassType.smoky,
  VoidCallback? onTap,
}) {
  return GlassContainer(
    key: key,
    width: double.infinity,
    height: double.infinity,
    type: type,
    shape: GlassShape.rectangle,
    addShadow: false,
    onTap: onTap,
    child: child,
  );
}