flutter /dart中获取字符串首字母非常简单,可以用下标或substring的方式获取首字母,参考以下示例代码: void main() { String s="abcd"; print(s[0]); ...
確定! 回上一頁