ftdetect: add dart support