NativeContainerStyle constructor
const
NativeContainerStyle({
- Color backgroundColor = const Color(0xFF121212),
- OverlayShape shape = OverlayShape.rounded,
- double borderRadius = 16.0,
- OverlayPosition position = OverlayPosition.top,
- int xOffset = 0,
- int yOffset = 100,
- double? width,
- double? height,
- NativeEdgeInsets padding = const NativeEdgeInsets.all(16.0),
Creates a NativeContainerStyle instance.
Implementation
const NativeContainerStyle({
this.backgroundColor = const Color(0xFF121212),
this.shape = OverlayShape.rounded,
this.borderRadius = 16.0,
this.position = OverlayPosition.top,
this.xOffset = 0,
this.yOffset = 100,
this.width,
this.height,
this.padding = const NativeEdgeInsets.all(16.0),
});