VxObjectExtensions extension
Extension Methods for Alignment of the objects.
- on
Methods
-
objectBottomCenter(
{Key? key, double? heightFactor, double? widthFactor}) → Align - Can be used to align a widget to bottomcenter.
-
objectBottomLeft(
{Key? key, double? heightFactor, double? widthFactor}) → Align - Can be used to align a widget to bottomleft.
-
objectBottomRight(
{Key? key, double? heightFactor, double? widthFactor}) → Align - Can be used to align a widget to bottomright.
-
objectCenter(
{Key? key, double? heightFactor, double? widthFactor}) → Align - Can be used to align a widget to center.
-
objectCenterLeft(
{Key? key, double? heightFactor, double? widthFactor}) → Align - Can be used to align a widget to centerleft.
-
objectCenterRight(
{Key? key, double? heightFactor, double? widthFactor}) → Align - Can be used to align a widget to centerright.
-
objectContain(
{Key? key}) → Widget - Can be used to wrap as a contain fit of the FittedBox.
-
objectCover(
{Key? key}) → Widget - Can be used to wrap as cover fit of the FittedBox.
-
objectFill(
{Key? key}) → Widget - Can be used to wrap as a fill fit of the FittedBox.
-
objectLERP(
Alignment a, Alignment b, double t, {Key? key, double? heightFactor, double? widthFactor}) → Align - Can be used to align a widget to specified alignment.
-
objectNone(
{Key? key}) → Widget - Can be used to wrap as a none fit of the FittedBox.
-
objectScaleDown(
{Key? key}) → Widget - Can be used to wrap as a scaledown fit of the FittedBox.
-
objectTopCenter(
{Key? key, double? heightFactor, double? widthFactor}) → Align - Can be used to align a widget to topcenter.
-
objectTopLeft(
{Key? key, double? heightFactor, double? widthFactor}) → Align - Can be used to align a widget to topleft.
-
objectTopRight(
{Key? key, double? heightFactor, double? widthFactor}) → Align - Can be used to align a widget to topright.
-
objectXY(
double x, double y, {Key? key, double? heightFactor, double? widthFactor}) → Align -
Can be used to align a widget to specified
x
&y
.