Dart စတင်ရန် နည်းလမ်းနှစ်ခုရှိပါတယ်။ Browser ထဲမှာ ချက်ချင်းစမ်းချင်ရင် online playground သုံးနိုင်ပြီး၊ local computer မှာ project တည်ဆောက်ချင်ရင် Dart SDK install လုပ်ပါ။
dart
// hello.dart
void main() {
print('Dart setup is ready.');
}
// Terminal command:
// dart run hello.dartပထမပိုင်းက Dart file ထဲရေးမယ့် code ဖြစ်ပြီး နောက်ဆုံး comment နှစ်ကြောင်းက Terminal မှာ run မယ့် command ကိုပြထားတာပါ။ File name ကို ကိုယ့် file name နဲ့တူအောင်ရေးရပါမယ်။
You should see
Dart setup is ready.