Chapter 01 of 76 min read
Dart Introduction & The main() Entry Point
Understand Dart compilation, strong typing, variables, and console output.
Why Google Created Dart
Dart powers Flutter, enabling high-performance natively compiled applications for Android, iOS, web, and desktop from a single codebase.
Dart Example • Chapter 01
void main() {
// Strongly Typed Dart Variables
String institute = "WeBotApp Academy Guwahati";
int established = 2009;
double placementRate = 100.0;
bool isGuwahatiCampusActive = true;
print("====================================");
print("🎯 Welcome to WeBotApp Dart CodeLab");
print("Institute: $institute");
print("Verified Placement Guarantee: $placementRate%");
print("Campus Active: $isGuwahatiCampusActive");
print("====================================");
}💡 Click "Try in Editor" to run, edit, and experiment with this code in our live split-view environment.100% Live Preview
Key Concepts • Chapter 01
- •Every Dart program begins execution inside void main().
- •Dart is strongly typed; types can be declared explicitly or inferred with var.
- •String interpolation ($variable or ${expression}) embeds values cleanly.
🎯 Chapter Practice Challenge
Declare an int currentYear = 2026 and print the institute age.