Last updated:
0 purchases
newsfeed multiple imageview
A package provides an easy way to add facebook type multiple newsfeed imageview.
Installation #
You just need to add newsfeed_multiple_imageview as a dependency in your pubspec.yaml file.
dependencies:
newsfeed_multiple_imageview: ^1.0.0
copied to clipboard
How to use #
import 'package:newsfeed_multiple_imageview/newsfeed_multiple_imageview.dart';
List<String> _imageUrls = [];
@override
void initState() {
super.initState();
_imageUrls.add("https://media.istockphoto.com/photos/colorful-sunset-at-davis-lake-picture-id1184692500?k=20&m=1184692500&s=612x612&w=0&h=7noTRS8UjiAVKU92eIhPG17PIWVh-kCmH5jKX5GOcdQ=");
_imageUrls.add("https://images.unsplash.com/photo-1573155993874-d5d48af862ba?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8NXx8cGFya3xlbnwwfHwwfHw%3D&w=1000&q=80");
_imageUrls.add("https://images.pexels.com/photos/158028/bellingrath-gardens-alabama-landscape-scenic-158028.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500");
_imageUrls.add("https://images.pexels.com/photos/158028/bellingrath-gardens-alabama-landscape-scenic-158028.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500");
_imageUrls.add("https://images.pexels.com/photos/158028/bellingrath-gardens-alabama-landscape-scenic-158028.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500");
}
NewsfeedMultipleImageView(
imageUrls: _imageUrls,
marginLeft: 10.0,
marginRight: 10.0,
marginBottom: 10.0,
marginTop: 10.0,
)
copied to clipboard
Support #
For support, email [email protected]
Made with 💝
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.