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