Перейти к основному содержимому

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,
});

Пример использования​

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