base_image 0.0.8 copy "base_image: ^0.0.8" to clipboard
base_image: ^0.0.8 copied to clipboard

BaseImage provides a full range of display formats of images :Network images, SVG images, Local images

Base Image #

BaseImage provides a full range of display formats of images :Network images, SVG images, Local images

How to Use #

Network Image:

import 'package:base_image/base_image.dart';


NetworkImageWidget(
    url:
        "https://img.meta.com.vn/Data/image/2022/01/13/anh-dep-thien-nhien-3.jpg",
    height: 200,
    width: double.infinity,
    boxFit: BoxFit.cover,
  )

SVG Image:

import 'package:base_image/base_image.dart';


SVGImageWidget(url: "assets/svg_address.svg")

Local Image:

import 'package:base_image/base_image.dart';

LocalImageWidget(url: "assets/png_no_image.png", height: 200,
   width: double.infinity,)
0
likes
140
points
61
downloads

Publisher

unverified uploader

Weekly Downloads

BaseImage provides a full range of display formats of images :Network images, SVG images, Local images

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cached_network_image, flutter, flutter_svg, lottie, plugin_platform_interface

More

Packages that depend on base_image