listAssets abstract method

List<String> listAssets()

Lists the keys of all main assets. This does not include assets that are variants of other assets.

The logical key maps to the path of an asset specified in the pubspec.yaml file at build time.

See Specifying assets and Loading assets for more information.

Implementation

List<String> listAssets();