Tests whether text is a valid integer.
text
static bool isInt(String text) { var rc = false; if (text.isNotEmpty) { rc = regExprInt.firstMatch(text) != null; } return rc; }