VideoShopping class
The entry class of video shopping.
Constructors
- VideoShopping.getInstance()
-
factory
Properties
- cartIconVisible ↔ bool
-
Defaults to true. You can hide the cart icon by setting this property to false.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- onClickProduct ↔ ClickProductCallback?
-
getter/setter pair
- onCustomClickCartIcon ↔ CustomClickCartIconCallback?
-
This callback is triggered when the user clicks the shopping cart icon.
getter/setter pair
- onCustomClickLinkButton ↔ CustomClickLinkButtonCallback?
-
This callback is triggered when the user clicks
the link button next to Add to cart button.
getter/setter pair
- onCustomTapProductCard ↔ CustomTapProductCardCallback?
-
This callback is triggered when the user clicks
the product on the short video/livestream/replay
getter/setter pair
- onShoppingCTA ↔ ShoppingCTACallback?
-
This callback is triggered when the user clicks the "Add to cart" or "Shop now" button.
getter/setter pair
- onUpdateProductDetails ↔ UpdateProductDetailsCallback?
-
This callback is triggered when the video will be shown.
getter/setter pair
- productInfoViewConfiguration ↔ ProductInfoViewConfiguration?
-
The configuration of product info view.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCartItemCount(
int count) → Future< void> -
Sets cart item
count
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited