Future<double> getAspectRatio({required String imageUrl}) async { Size size = await _calculateImageDimension(imageUrl); return size.aspectRatio; }