Google Dart Programming Tutorial - 7 - Using Boolean

1,856 views · Published 20 March 2013 · 2:59 · Indexed 10 November 2026

Channel: Rasmurtech · 2013 · Science & Technology

Watch on YouTube

Brought to you by http://www.rasmurtech.com/

Rasim from Rasmurtech.com give us another tutorial on Google Dart Programming. In this tutorial he tells us about boolean and shows us how to use it. He also tells us about it three flavors, true, false null and why its different from the other programming code. In the next tutorial Rasim will talk about Lists.

Example of JavaScript code with boolean:

main() {
 
 
 int i = 1;
  if (i) {  
    
    print("I only print in javascript, not in Dart.");
        
  }
}

Example of Dart code with boolean:

void main() {

 bool i = true;
  if (i) {  
    
    print("I only print in javascript, not in Dart.");
        
  }
        
}

More from this channel