Flips x coordinate when flip is true
// ignore: avoid_positional_boolean_parameters double mirrorConditionally(bool flip) => flip ? -this : this;