NxShimmerBox constructor
const
NxShimmerBox({})
Creates a shimmer box widget.
width
- Width of the box (defaults to screen width)height
- Height of the box (defaults to screen height)opacity
- Opacity of the shimmer effect (defaults to 1.0)color
- Background color of the box
Implementation
const NxShimmerBox({
super.key,
this.width = double.infinity,
this.height = double.infinity,
this.opacity = 1,
this.color,
});