LiquidContainer constructor
const
LiquidContainer({
- Key? key,
- required Widget child,
- LiquidShape shape = LiquidShape.rectangle,
- LiquidStyle style = const LiquidStyle(),
- BorderRadius? borderRadius,
- Color? backgroundColor,
- double? width,
- double? height,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- 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
});