RCKSlidableActionConfig.pin constructor

RCKSlidableActionConfig.pin()

Implementation

RCKSlidableActionConfig.pin()
    : label = '置顶',
      iconPath = RCKThemeProvider().themeIcon.pin ?? '',
      undoIconPath = RCKThemeProvider().themeIcon.unpin ?? '',
      backgroundColor =
          RCKThemeProvider().themeColor.bgAuxiliary2 ?? Colors.blue,
      foregroundColor = Colors.white,
      actionType = SlidableActionType.pin,
      autoClose = true;