shoppable_feed 1.0.6
shoppable_feed: ^1.0.6 copied to clipboard
A vertically-swiping feed of products, inspired by modern e-commerce apps like Daraz and AliExpress. Allows for a rich, engaging product discovery experience.
ποΈ Shoppable Feed β Modern Product Discovery for Flutter #
A vertically swiping, full-screen product feed widget for Flutter β inspired by top e-commerce apps like Daraz, AliExpress, and TikTok Shop. Designed for high-impact visual discovery experiences that drive engagement and boost conversions.
β‘ Built from scratch using core Flutter widgets β no third-party UI dependencies.
(https://raw.githubusercontent.com/mehdinathani/shoppable_feed/refs/heads/main/assets/demo.gif)
π Features #
- π Infinite vertical scrolling (
PageView) - πΌοΈ Dynamic layout with:
- Product images
- Brand logo and seller name
- Star ratings, price, and review count
- π Interactive buttons:
- Add to Cart
- Watchlist toggle
- Follow Seller
- Show Reviews / Share
- π¦ Clean
ProductModelfor easy integration - π§ Full control via callbacks (
onAddToCart,onToggleWatch, etc.) - β 100% customizable and state-aware UI
- π± Perfect for shopping, deals, video commerce, and discovery apps
π§βπ» Getting Started #
Add the package to your pubspec.yaml:
dependencies:
shoppable_feed: ^1.0.0
Import the widget:
import 'package:shoppable_feed/shoppable_feed.dart';
ShoppableFeed(
products: myListOfProducts,
onAddToCart: (product) => print("Added ${product.name}"),
onToggleWatch: (product) => print("Watch toggled: ${product.id}"),
onShowReviews: (product) => showDialog(...),
// more callbacks...
)
π² Check out the full
exampleapp in this repo for a working demo.
π¦ Data Model #
Define your product using ProductModel:
ProductModel(
id: '001',
imageUrl: 'https://example.com/image.png',
brandLogoUrl: 'https://example.com/brand.png',
sellerName: 'Official Store',
productName: 'Wireless Mouse',
price: 2999,
rating: 4.5,
ratingCount: 120,
isFollowing: false,
isWatchlisted: false,
)
π‘ Why Use Shoppable Feed? #
- β‘ Gen Zβready UI: Fullscreen, swipe-native layout
- πΌ Made for builders: Clean code, no bloat
- π§© Easily embeddable in e-commerce, affiliate, or product showcase apps
- π οΈ Extensible: Plug in your own data sources or Firestore integration
π¨βπ» About the Creator #
Mehdi Abbas Nathani
π Flutter & AI Enthusiast | π MBA in Finance | πΌ Fintech Professional
π Building tech with business impact | π‘ Making developer tools for the future
- π Website
- π§ LinkedIn
- π» GitHub
- π¬ mehdinathani1@gmail.com
π License #
This project is licensed under the MIT License.
π€ Contributions #
Pull requests, issues, and ideas are welcome.
If you find this package helpful, give it a β on pub.dev and help others discover it.
Made with π in Flutter β for the next generation of builders.