objectLERP method

Align objectLERP(
  1. Alignment a,
  2. Alignment b,
  3. double t, {
  4. Key? key,
  5. double? heightFactor,
  6. double? widthFactor,
})

Can be used to align a widget to specified alignment.

Implementation

Align objectLERP(
  Alignment a,
  Alignment b,
  double t, {
  Key? key,
  double? heightFactor,
  double? widthFactor,
}) =>
    Align(
      key: key,
      child: this,
      alignment: Alignment.lerp(a, b, t)!,
      heightFactor: heightFactor,
      widthFactor: widthFactor,
    );