hello world program in dart code example Example: hello world in dart void main() { print('Hello, World!'); }