width property

double? width
final

If non-null, require the image to have this width.

If null, the image will pick a size that best preserves its intrinsic aspect ratio.

Implementation

final double? width;