NxBackgroundCard constructor
      const
      NxBackgroundCard({ 
    
- required Widget child,
- double? height,
- double? width,
- Color? backgroundColor,
- EdgeInsetsGeometry? margin,
- double? elevation,
- ShapeBorder? shape,
- bool isScrollable = false,
- Key? key,
Creates a background card that sizes relative to screen dimensions.
- childis the widget to display inside the card
- heightis the fraction of screen height to occupy (1.0 = full height)
- widthis the fraction of screen width to occupy (1.0 = full width)
- backgroundColorsets the card's background color
- margindefines the space around the card
- elevationcontrols the card's shadow
- shapedefines the card's shape and border radius
- isScrollablewraps content in SingleChildScrollView if true
Implementation
const NxBackgroundCard({
  required this.child,
  this.height,
  this.width,
  this.backgroundColor,
  this.margin,
  this.elevation,
  this.shape,
  this.isScrollable = false,
  super.key,
});