Skip to main content

SliverPadding

Type NameSupports Property AnimationsControlled by DefaultCan Contain Related ActionLink
SliverPadding✔️✗✗link
Attributes (outdated models)
final class SliverPaddingAttributes extends AnimatedPropertyOwner
implements DuitAttributes<SliverPaddingAttributes>, DuitSliverProps {
final EdgeInsetsGeometry padding;


final bool needsBoxAdapter;

const SliverPaddingAttributes({
required this.padding,
required this.needsBoxAdapter,
required super.parentBuilderId,
required super.affectedProperties,
});

Usage Example​

SliverPadding(
&duit_attributes.SliverPaddingAttributes{
Padding: duit_edge_insets.EdgeInsets{
Left: 16, Top: 8, Right: 16, Bottom: 8,
},
NeedsBoxAdapter: false,
},
"id",
false,
//child,
)