aspectRatio property
Width-to-height ratio for the full carousel viewport. A non-positive value selects height instead; viewportFraction and itemSpacing then determine the image frame inside that viewport.
Implementation
final double aspectRatio;
Width-to-height ratio for the full carousel viewport. A non-positive value selects height instead; viewportFraction and itemSpacing then determine the image frame inside that viewport.
final double aspectRatio;