HubbleSpacing.fromSpaces constructor

HubbleSpacing.fromSpaces(
  1. HubbleSpaces spaces
)

Implementation

factory HubbleSpacing.fromSpaces(HubbleSpaces spaces) {
  return HubbleSpacing(
    spaces: spaces,
    widths: HubbleSpaceWidgets.widths(spaces),
    heights: HubbleSpaceWidgets.heights(spaces),
  );
}