dart-best-practices
作者: flutter
优先使用多行字符串( ''' )而非通过 + 和 \n 拼接字符串,尤其适用于 SQL 查询、HTML 或 PEM 编码密钥等大段文本。这能通过自然换行提升可读性,并避免 lines_longer_than_80_chars 的 lint 错误。
npx skills add https://github.com/flutter/skills --skill dart-best-practices优先使用多行字符串( ''' )而非通过 + 和 \n 拼接字符串,尤其适用于 SQL 查询、HTML 或 PEM 编码密钥等大段文本。这能通过自然换行提升可读性,并避免 lines_longer_than_80_chars 的 lint 错误。
npx skills add https://github.com/flutter/skills --skill dart-best-practices