Dart is a general-purpose, high-level modern programming language which was originally developed by Google.Dart is a dynamic, class-based, object-oriented programming language with closure and lexical scope.
Dart is an open-source programming language which is widely used to develop the mobile application, modern web-applications, desktop application, and the Internet of Things (IoT) using the Flutter framework.
It is a compiled language and supports two types of compilation techniques.
AOT (Ahead of Time) - It converts the Dart code in the optimized JavaScript code with the help of the dar2js compiler and runs on all modern web-browsers. It compiles the code at build time.
JIT (Just-In-Time) - It converts the byte code in the machine code (native code), but only code that is necessary.
#Why Dart?
→Dart is a platform-independent language .
→It is an open-source language, which means it is available free for everyone.
→Dart comes with the dar2js compiler which transmits the Dart code into JavaScript code that runs on all modern web browsers.
→The stand-alone Dart VM permits Dart code to run in a command-line interface environment.
#Dart features:-
Dart is an open-source object-oriented programming language.
Dart is a new programming language that includes a wide range of programming features like interfaces, collections, classes, and dynamic and optional typing.
It is designed for both the server and the browser.
- Open source
- Platform independent
- Object oriented programming language
- Concurrency
- Extensive libraries
- Easy to learn
- Flexible Compilation
- Type safe
- Browser support
- Community
#Installation Part:-
You can use a package manager to easily install and update a stable channel Dart SDK. Alternatively, you can build the SDK from source, grab a Dart Docker image, or install from any release channel by downloading the SDK as a zip file.
Dart can be installed on Windows, Linux and macOS.
Installation of dart on Windows:- You can install Dart SDK using Chocolatey.
These commands require administrator rights. Here’s one way to open command prompt window that has admin rights:
Press windows+R to open the run window.
Type cmd in the box.
Press Ctrl+Shift+Enter
To install Dart SDK
- c:/> choco install dart-sdk
To upgrade Dart SDK
- c:/> choco upgrade dart-sdk
You can change the location of the SDK file to the desired location you want.
Dart roadmap:-
Dart is a programming language that is similar to C and Java. It covers the fundamentals of object-oriented programming.Everything in dart is regarded as an object.
In essence, an object is a collection of data and methods.Objects communicate with one another using methods.
To learn any programming language, start with the fundamentals such as data types, loops, and functions. Further go with object-oriented principles, and then the advanced topics.
The essentials of dart comprise the features and concepts listed below:-
- Dart Basics:-
- Dart first program
- Dart basic syntax
- Dart comments
- Dart keywords
- Dart data types
- Dart variables
Dart operators
Dart data types:-
- Dart constants
- Dart numbers
- Dart strings
- Dart Lists
- Dart sets
- Dart maps
- Dart symbols
- Dart runes
- Dart Enumeration
- Control Flow Statement
- Dart if statement
- If else Statement
- If else-if statement
- Switch case Statement
- Dart Loops
- Dart For..in Loop
- Dart while Loop
- Dart do While Loop
- Dart Boolean
- Dart Function
- Anonymous Function
- Main() Function
- Dart Recursion
- Object-Oriented
- Object-Oriented concepts
- Classes & Object
- Dart constant
- Dart this keyword
- Dart static keyword
- Dart super keyword
- Dart Inheritance
- Super Constructor
- Dart method
- Method Overriding
- Getters & Setters
- Abstract Classes
- Dart Interface
- Dart Advance topics
- Dart Exception
- Dart Typedef
- Dart Metadata
- Dart collection
- Dart generics
- Dart Packages
- Dart libraries
- Dart Generator
- Dart Callable Classes
- Dart Isolates
- Dart Async
- Dart Concurrency
- Dart Unit Testing
- Dart HTML DOM
Top comments (0)