CardObject.complex constructor

CardObject.complex(
  1. decorationPriority decorationVariant,
  2. String? cardLabel,
  3. String? cardBody,
  4. Map<String, IconData>? cardDetailCarousel,
  5. VoidCallback? cardAction,
)

Implementation

CardObject.complex(this.decorationVariant, this.cardLabel, this.cardBody,
    this.cardDetailCarousel, this.cardAction)
    : assert(cardLabel != '' &&
          cardBody != '' &&
          cardDetailCarousel != null &&
          cardAction != null);