LiquidGlassEffect constructor

const LiquidGlassEffect({
  1. Key? key,
  2. required Widget child,
  3. required LiquidGlassConfig config,
  4. bool isPressed = false,
  5. bool isHovered = false,
  6. Offset localPosition = Offset.zero,
  7. double hoverAnimation = 0.0,
})

Implementation

const LiquidGlassEffect({
  super.key,
  required this.child,
  required this.config,
  this.isPressed = false,
  this.isHovered = false,
  this.localPosition = Offset.zero,
  this.hoverAnimation = 0.0,
});