image_picker_loading_jm

Last updated:

0 purchases

image_picker_loading_jm Image
image_picker_loading_jm Images
Add to Cart

Description:

image picker loading jm

image_Picker_loading_jm #
[![License: MIT][license_badge]][license_link]
This package allows us to easily use the libraries already created and published in dart.dev "shimmer" and "cached_network_image"

How to Use #
import 'package:image_picker_loading_jm/image_picker_loading_jm.dart';


ImagePickerLoadingJM(
imagePickerLoadingJModel: ImagePickerLoadingJModel(
image: "https://thumbs.dreamstime.com/b/beautiful-rain-forest-ang-ka-nature-trail-doi-inthanon-national-park-thailand-36703721.jpg",
imageError: "assets/image/image.jpeg",
buildBody: (_, provider) => Container(
height: 300,
width: 300,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(30),
image: DecorationImage(
image: provider,
fit: BoxFit.cover,
),
),
),
),
);
copied to clipboard
parameters #
all parameters are sent via the ImagePickerLoadingJModel model

image Receives a mandatory String, and allows us to obtain the url or path of the image we want to display.
imageError Receives a mandatory String, and allows us to get the path of the error image, only asset images can be sent.
typeImage Receives a TypeImage, this field is not required and allows us to know the type of image we want to display in our widget, Asset or Network.
buildBody Required field, receives a BuildBody data type

copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.