Declare Variables with Var Keyword in Dart
void main() { var age = 20; var price = 4.5; var status = true; var username = “acc1”; print(“age: $age”); print(“price: $price”); print(“status: $status”); print(“username: $username”); } Output age: …
Declare Variables with Var Keyword in Dart Read More