SliverOpacityModifier constructor
const
SliverOpacityModifier({})
Creates a sliver that makes its sliver child partially transparent.
The opacity
argument must not be null and must be between 0.0 and 1.0
(inclusive).
Implementation
const SliverOpacityModifier({
super.key,
super.modifierKey,
super.child,
required this.opacity,
this.alwaysIncludeSemantics = false,
});