actionTextStyle method

TextStyle actionTextStyle()

Implementation

TextStyle actionTextStyle() {
  switch (this) {
    case RITLAlertActionType.normal:
      return TextStyle(
        color: Color.fromRGBO(89, 89, 89, 1),
        fontSize: 15,
        fontWeight: FontWeight.w400,
      );
    case RITLAlertActionType.destructive:
      return TextStyle(
        color: CupertinoColors.destructiveRed,
        fontSize: 15,
        fontWeight: FontWeight.w400,
      );
    default:
      return TextStyle(
        color: Color.fromRGBO(89, 89, 89, 1),
        fontSize: 14,
        fontWeight: FontWeight.w400,
      );
  }
}