Dart is a static programming language developed by Google. According to the GitHub popularity index, it became the most popular programming language as it actually supports the flutter toolkit. Flutter is a framework that uses dart’s native compilation ability to generate fast cross-platform apps.
import 'package:pk_dart_application/pk_dart_application.dart' as pk_dart_application; import 'dart:io'; void main() { print('Hello world'); stdin(); stdout.write('Enter your name: '); // work like print }
Press f5 for run this code.
import 'package:pk_dart_application/pk_dart_application.dart' as pk_dart_application; import 'dart:io'; void main() { print('Hello world !'); stdout.write('write your name: '); var name = 'hi this is pankaj'; print("Name, $name"); }