Check out example codes for "dart". It will help you in understanding the concepts better.

Code Example 1

Cool = flutter + Dart

Code Example 2

void main() {
    print(hello, dart!);
}

Learn ReactJs, React Native from akashmittal.com