dart count string length code example Example: flutter length of string int stringLength = "hello".length;