by @kodeazy

flutter How to get last letter of string in dart file?

Home » flutter » flutter How to get last letter of string in dart file?
void main() {
  String example = "Testing";
  print(example[example.length-1]);
}

Output

g