viewAsset abstract method

Future<void> viewAsset(
  1. BuildContext context,
  2. int? index,
  3. Asset currentAsset
)

Determine how to browse assets in the viewer. 定义如何在查看器中浏览资源

Implementation

Future<void> viewAsset(BuildContext context, int? index, Asset currentAsset);