AlignEffectExt extension
Provides a extension method to apply an AlignEffect to a Widget.
- on
Methods
-
align(
AlignmentGeometry alignment, {AlignmentGeometry? from}) → Widget -
Applies an AlignEffect to a Widget with the given
alignment
. -
alignX(
double x, {double? from}) → Widget - Applies an AlignEffect to a Widget only on the x-axis.
-
alignXY(
double x, double y, {AlignmentGeometry? from}) → Widget -
Applies an AlignEffect to a Widget with the given
x
andy
values. -
alignY(
double y, {double? from}) → Widget - Applies an AlignEffect to a Widget only on the y-axis.