INNER CODE UNIT · Dart

x

hackware1993/Flutter_ConstraintLayout · lib/src/core.dart:534

      x = _xOffset * size.width;
    }
    if (_yType == AnchorType.absolute) {
      y = _yOffset;
    } else {
      y = _yOffset * size.height;
    }
    return Offset(x, y);
  }

  @override
  bool operator ==(Object other) =>
      identical(this, other) ||
      other is Anchor &&
          runtimeType == other.runtimeType &&
          _xOffset == other._xOffset &&
          _xType == other._xType &&
          _yOffset == other._yOffset &&

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…