VideoShopping class Null safety

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.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
onAddToCart AddToCartCallback?
This callback is triggered when the user clicks the "Add to cart" button. [...]
read / write
onCustomClickCartIcon CustomClickCartIconCallback?
This callback is triggered when the user clicks the shopping cart icon. [...]
read / write
onUpdateProductDetails UpdateProductDetailsCallback?
This callback is triggered when the video will be shown. [...]
read / write
onWillDisplayProduct WillDisplayProductCallback?
This callback is triggered when the product will be shown. Only supported on iOS. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setCartItemCount(int count) → void
Sets cart item count.
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited