fix a StringIndexOutOfBoundsException (#2163)
fix a StringIndexOutOfBoundsException (#2163)


flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij