This is a open bug in dartfmt (filed very recently).