shoppable_feed 0.0.1
shoppable_feed: ^0.0.1 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 #
A vertically-swiping feed of products for Flutter, inspired by modern e-commerce apps like Daraz and AliExpress. It allows for a rich, engaging product discovery experience.
<-- IMPORTANT: Record a GIF!
Features #
- Infinite vertical scrolling
- Rich, customizable UI for product details
- Stateful action buttons (Add to Cart, Watchlist, etc.)
- Exposes callbacks for all user interactions
Getting started #
Add the dependency to your pubspec.yaml:
dependencies:
shoppable_feed: ^1.0.0
Usage #
Import the package and use the ShoppableFeed widget.
import 'package:shoppable_feed/shoppable_feed.dart';
// See the `example` tab for a full implementation.
ShoppableFeed(
products: myListOfProducts,
onAddToCart: (product) { ... },
onToggleWatch: (product) { ... },
// ... implement other callbacks
)