SliverPadding
| Название типа | Поддерживает анимации свойств | Контроллируемый по умолчанию | Может содержать связанное действие | Ссылка |
|---|---|---|---|---|
| SliverPadding | ✔️ | ✗ | ✗ | link |
Атрибуты (устаревшие модели)
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,
});
Пример использования
- Go
SliverPadding(
&duit_attributes.SliverPaddingAttributes{
Padding: duit_edge_insets.EdgeInsets{
Left: 16, Top: 8, Right: 16, Bottom: 8,
},
NeedsBoxAdapter: false,
},
"id",
false,
//child,
)