Skip to main content

SliverOpacity

Type NameSupports Property AnimationsControlled by DefaultCan Contain Related ActionLink
SliverOpacity✔️✗✗link
Attributes (outdated models)
final class SliverOpacityAttributes extends AnimatedPropertyOwner
implements DuitAttributes<SliverOpacityAttributes>, DuitSliverProps {
final double opacity;


final bool needsBoxAdapter;

const SliverOpacityAttributes({
required this.opacity,
required this.needsBoxAdapter,
required super.parentBuilderId,
required super.affectedProperties,
});

Usage Example​

SliverOpacity(
&duit_attributes.SliverOpacityAttributes{
Opacity: 0.5,
NeedsBoxAdapter: false,
},
"id",
false,
//child,
)