SliverPadding
| Type Name | Supports Property Animations | Controlled by Default | Can Contain Related Action | Link |
|---|---|---|---|---|
| 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
- Go
SliverPadding(
&duit_attributes.SliverPaddingAttributes{
Padding: duit_edge_insets.EdgeInsets{
Left: 16, Top: 8, Right: 16, Bottom: 8,
},
NeedsBoxAdapter: false,
},
"id",
false,
//child,
)