hasPositionProperties static method

bool hasPositionProperties(
  1. FlyStyle style
)

Check if any position properties are set

Implementation

static bool hasPositionProperties(FlyStyle style) {
  return style.top != null ||
      style.right != null ||
      style.bottom != null ||
      style.left != null ||
      style.inset != null ||
      style.insetX != null ||
      style.insetY != null;
}