CNotificationActionButton constructor

CNotificationActionButton({
  1. Key? key,
  2. required Widget child,
  3. required VoidCallback onTap,
  4. double? width,
  5. double? height,
})

Implementation

CNotificationActionButton({
  Key? key,
  required Widget child,
  required VoidCallback onTap,
  double? width,
  double? height,
})  : props = CNotificationActionButtonProps(
        child: child,
        onTap: onTap,
        width: width,
        height: height,
      ),
      super(key: key);