getInfo method

dynamic getInfo(
  1. dynamic index
)

Implementation

getInfo(index) {
  var text = "";
  if (index == 0) {
    text = Strings.rechargeCSInfo.tr;
  }
  if (index == 1) {
    text = Strings.gameCSInfo.tr;
  }
  if (index == 2) {
    text = Strings.otherCSInfo.tr;
  }
  return Text(text, maxLines: 1, overflow: TextOverflow.ellipsis, style: styleContentGrey);
}