NativeContainerStyle constructor

const NativeContainerStyle({
  1. Color backgroundColor = const Color(0xFF121212),
  2. OverlayShape shape = OverlayShape.rounded,
  3. double borderRadius = 16.0,
  4. OverlayPosition position = OverlayPosition.top,
  5. int xOffset = 0,
  6. int yOffset = 100,
  7. double? width,
  8. double? height,
  9. 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),
});