NotifyCard.error constructor

NotifyCard.error({
  1. required String text,
})

Implementation

factory NotifyCard.error({
  required String text,
}) =>
    NotifyCard(
      primaryColor: TWColors.red.shade500,
      text: text,
      svgIcon: Assets.svg_error_fill,
    );