height property
If non-null, require the lottie animation to have this height.
If null, the lottie animation will pick a size that best preserves its intrinsic aspect ratio.
It is strongly recommended that either both the width and the height be specified, or that the widget be placed in a context that sets tight layout constraints, so that the animation does not change size as it loads. Consider using fit to adapt the animation's rendering to fit the given width and height if the exact animation dimensions are not known in advance.
Implementation
final double? height;