Align
| Название типа | Поддерживает анимации свойств | Контроллируемый по умолчанию | Может содержать связанное действие | Ссылка |
|---|---|---|---|---|
| Align | ✔️ | ✗ | ✗ | link |
Атрибуты (устаревшие модели)
final class AlignAttributes extends AnimatedPropertyOwner
implements DuitAttributes<AlignAttributes> {
final AlignmentGeometry? alignment;
final double? widthFactor, heightFactor;
const AlignAttributes({
this.alignment,
this.widthFactor,
this.heightFactor,
required super.parentBuilderId,
required super.affectedProperties,
});
Пример использования
- Go
Align(
&duit_attributes.AlignAttributes{
Alignment: duit_alignment.Center,
},
"id",
false,
//child,
)