image_loader_flutter 0.0.6 copy "image_loader_flutter: ^0.0.6" to clipboard
image_loader_flutter: ^0.0.6 copied to clipboard

image_loader_flutter is a Flutter package that simplifies loading images from various sources with caching and error handling. It supports loading from URLs, assets, and files, offering placeholder an [...]

How to use #

Load Network Image

 SizedBox(
    height: 100,
    width: 100,
    child: ImageLoaderFlutterWidgets(
          radius: 0,
          circle: false,
          image: "https://codingislife.net/wp-content/uploads/2023/09/Untitled_design__1___2_-removebg-preview-215x38.png",
        ),
    )

Load File Image

 SizedBox(
    height: 100,
    width: 100,
    child: ImageLoaderFlutterWidgets(
          radius: 0,
          circle: false,
          image: File("file_path").path,
        ),
    )

Load Assets Image

 SizedBox(
    height: 100,
    width: 100,
    child: ImageLoaderFlutterWidgets(
          radius: 0,
          circle: false,
          image: "assets/images/file_name.png",
        ),
    )

VIew fullscreen image

 SizedBox(
    height: 100,
    width: 100,
    child: ImageLoaderFlutterWidgets(
          radius: 0,
          circle: false,
          onTap: true,
          image: "assets/images/file_name.png",
        ),
    )

Show custom radius

 SizedBox(
    height: 100,
    width: 100,
    child: ImageLoaderFlutterWidgets(
          radius: 10,
          circle: false,
          onTap: true,
          image: "assets/images/file_name.png",
        ),
    )

Show circle image

 SizedBox(
    height: 100,
    width: 100,
    child: ImageLoaderFlutterWidgets(
          radius: 0,
          circle: true,
          image: "assets/images/file_name.png",
        ),
    )
1
likes
0
pub points
48%
popularity

Publisher

verified publishercodingislife.net

image_loader_flutter is a Flutter package that simplifies loading images from various sources with caching and error handling. It supports loading from URLs, assets, and files, offering placeholder and error widgets. The package enhances performance with image caching, ensuring smooth and efficient image rendering in your Flutter apps.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

cached_network_image, flutter, photo_view

More

Packages that depend on image_loader_flutter