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