资源、 图片、和图标 Widgets

Manage assets, display images, and show icons.

See more widgets in the Flutter widget catalog.

  • Image

    A widget that displays an image.

    Documentation

  • Icon

    A Material Design icon.

    Documentation

  • RawImage

    A widget that displays a dart:ui.Image directly.

    Documentation

  • AssetBundle

    Asset bundles contain resources, such as images and strings, that can be used by an application. Access to these resources is asynchronous so that they can be transparently loaded over a network (e.g., from a NetworkAssetBundle) or from the local file system without blocking the application's user interface.

    Documentation

See more widgets in the Flutter widget catalog.