network_image 0.1.1 copy "network_image: ^0.1.1" to clipboard
network_image: ^0.1.1 copied to clipboard

NetworkImageWidget make your life easy directly call me and feed me with (ImageUrl) or (File) or leave me empty I will automatically set for you default image if you want me to change pass your own us [...]

Network Image Widget #

NetworkImageWidget make your life easy directly call me and feed me with (ImageUrl) or (File) or leave me empty I will automatically set for you default image if you want me to change pass your own using placeHolder sounds nice right use me in your project

Usage #

In your pubspec.yaml

dependencies:
  network_image: # latest version

Import it

import 'package:network_image/network_image.dart';

Implement it

NetworkImageWidget(  
  borderRadius: 50,  
  imageUrl: _networkImage,  
  errorWidgetBuilder: Icon(Icons.error),  
  boxFit: BoxFit.cover,  
  placeHolder: _placeHolder,  
  progressIndicatorBuilder: Center(  
 child: CircularProgressIndicator(),  
  ),  
),

Contributions #

Feel free to contribute to this project.

If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue. If you fixed a bug or implemented a feature, please send a pull request.

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Preview #


Created & Maintained By #

@AmirKhan , Youtube : @eTechViral , Twitter : @AmirKhan , Instagram : @etechviral, LinkedIn : @AmirKhan

1
likes
120
points
171
downloads

Publisher

unverified uploader

Weekly Downloads

NetworkImageWidget make your life easy directly call me and feed me with (ImageUrl) or (File) or leave me empty I will automatically set for you default image if you want me to change pass your own using placeHolder sounds nice right use me in your project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cached_network_image, flutter

More

Packages that depend on network_image