RatioRect.matchPosition constructor

RatioRect.matchPosition(
  1. MatchPosition matchPosition
)

Implementation

factory RatioRect.matchPosition(MatchPosition matchPosition) {
  return RatioRect(matchPosition.leftRatio, matchPosition.topRatio,
      matchPosition.rightRatio, matchPosition.bottomRatio);
}