appBar static method

GlassContainer appBar({
  1. Key? key,
  2. required Widget child,
  3. double? height,
  4. GlassType type = GlassType.crystal,
})

Implementation

static GlassContainer appBar({
  Key? key,
  required Widget child,
  double? height,
  GlassType type = GlassType.crystal,
}) {
  return GlassContainer(
    key: key,
    width: double.infinity,
    height: height ?? 80.h,
    type: type,
    shape: GlassShape.rectangle,
    borderWidth: 0,
    addShadow: false,
    child: child,
  );
}