add platform dart