cartIconVisible property Null safety

bool cartIconVisible

Defaults to true. You can hide the cart icon by setting this property to false.

Implementation

bool get cartIconVisible => _cartIconVisible;
void cartIconVisible=(bool newValue)

Implementation

set cartIconVisible(bool newValue) {
  _cartIconVisible = newValue;
  final nativeMethodName = FWShoppingMethodNameUtil.convertToNativeMethod(
    FWShoppingNativeMethodName.setCartIconVisible,
  );
  FWMethodChannelUtil.getShoppingChannel().invokeMethod(
    nativeMethodName,
    newValue,
  );
}