currentAsset property

Asset get currentAsset

Getter for the current asset. 当前资源的Getter

Implementation

Asset get currentAsset => previewAssets.elementAt(
      shouldReversePreview
          ? previewAssets.length - currentIndex - 1
          : currentIndex,
    );