inlineNotificationBorder constant

Map<CNotificationContrast, Map<CNotificationKind, Border>> const inlineNotificationBorder

Implementation

static const Map<CNotificationContrast, Map<CNotificationKind, Border>> inlineNotificationBorder = {
  CNotificationContrast.high: {
    CNotificationKind.error: Border(left: BorderSide(width: 3, color: CColors.red50)),
    CNotificationKind.info: Border(left: BorderSide(width: 3, color: CColors.blue50)),
    CNotificationKind.success: Border(left: BorderSide(width: 3, color: CColors.green40)),
    CNotificationKind.warning: Border(left: BorderSide(width: 3, color: CColors.yellow30)),
  },
  CNotificationContrast.low: {
    CNotificationKind.error: Border(
      left: BorderSide(width: 3, color: CColors.red50),
      right: BorderSide(width: 1, color: CColors.red50),
      top: BorderSide(width: 1, color: CColors.red50),
      bottom: BorderSide(width: 1, color: CColors.red50),
    ),
    CNotificationKind.info: Border(
      left: BorderSide(width: 3, color: CColors.blue50),
      right: BorderSide(width: 1, color: CColors.blue50),
      top: BorderSide(width: 1, color: CColors.blue50),
      bottom: BorderSide(width: 1, color: CColors.blue50),
    ),
    CNotificationKind.success: Border(
      left: BorderSide(width: 3, color: CColors.green40),
      right: BorderSide(width: 1, color: CColors.green40),
      top: BorderSide(width: 1, color: CColors.green40),
      bottom: BorderSide(width: 1, color: CColors.green40),
    ),
    CNotificationKind.warning: Border(
      left: BorderSide(width: 3, color: CColors.yellow30),
      right: BorderSide(width: 1, color: CColors.yellow30),
      top: BorderSide(width: 1, color: CColors.yellow30),
      bottom: BorderSide(width: 1, color: CColors.yellow30),
    ),
  },
};