LiquidContainer constructor

const LiquidContainer({
  1. Key? key,
  2. required Widget child,
  3. LiquidShape shape = LiquidShape.rectangle,
  4. LiquidStyle style = const LiquidStyle(),
  5. BorderRadius? borderRadius,
  6. Color? backgroundColor,
  7. double? width,
  8. double? height,
  9. EdgeInsetsGeometry? padding,
  10. EdgeInsetsGeometry? margin,
  11. bool enableGyro = false,
})

Implementation

const LiquidContainer({
  super.key,
  required this.child,
  this.shape = LiquidShape.rectangle,
  this.style = const LiquidStyle(),
  this.borderRadius,
  this.backgroundColor,
  this.width,
  this.height,
  this.padding,
  this.margin,
  this.enableGyro = false, // Default: OFF
});