- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Mukul Latiyan has Published 474 Articles
![Mukul Latiyan](https://www.tutorialspoint.com/assets/profiles/308320/profile/60_124990-1617352847.jpg)
Mukul Latiyan
627 Views
Iterables in Dart are a collection of values, or "elements", that we can access in a sequential manner.The elements of the iterable are accessed by making use of an iterator getter.There are multiple collections in Dart that implement the Iterables, for example, LinkedList, List, ListQueue, MapKeySet, MapValueSet and much more.There ... Read More
![Mukul Latiyan](https://www.tutorialspoint.com/assets/profiles/308320/profile/60_124990-1617352847.jpg)
Mukul Latiyan
497 Views
We know that const keyword provides immutability in objects. But what about the cases, where we want the entire class to be immutable in nature.In such cases, we make use of the immutable annotation that is present inside the meta package of dart library.Syntaximport 'pacakge:meta/meta.dart'; @immutable class User { ... Read More
![Mukul Latiyan](https://www.tutorialspoint.com/assets/profiles/308320/profile/60_124990-1617352847.jpg)
Mukul Latiyan
568 Views
Immutability is the ability to remain constant. Whenever we talk about immutability we mention the immutable nature.In object oriented and functional programming, we make use of the immutable nature of objects a lot. Being immutable means that the state of the object cannot be modified after its creation.It is a ... Read More
![Mukul Latiyan](https://www.tutorialspoint.com/assets/profiles/308320/profile/60_124990-1617352847.jpg)
Mukul Latiyan
161 Views
If statements are a major part of any programming language as they allow us to run things based on certain conditions, that's why they come under the conditional statements category.Dart's if-else statements follow the same syntax as Java's ones.Syntaxif( condition ) { statement }If the condition in the above ... Read More
![Mukul Latiyan](https://www.tutorialspoint.com/assets/profiles/308320/profile/60_124990-1617352847.jpg)
Mukul Latiyan
1K+ Views
Hierarchical inheritance is the case of inheritance when two classes inherit a single class.The syntactic representation of a hierarchical inheritance looks something like this −class A {} class B extends A {} class C extends A {}In the above syntactic representation, we can see that two classes, namely B and ... Read More
![Mukul Latiyan](https://www.tutorialspoint.com/assets/profiles/308320/profile/60_124990-1617352847.jpg)
Mukul Latiyan
3K+ Views
A Hello World program is the first program that you learn whenever you are learning a new programming language. It might be a simple program but it is a great entry point as you get to know how a program works in Dart, how to run a dart file. It ... Read More
![Mukul Latiyan](https://www.tutorialspoint.com/assets/profiles/308320/profile/60_124990-1617352847.jpg)
Mukul Latiyan
3K+ Views
Reading and writing access to objects is very important in any programming language. Getter and Setter are the exact methods that we use when we want to access the reading and writing privileges to an object's properties.SyntaxA getter usually looks something like this -returnType get fieldName { // return ... Read More
![Mukul Latiyan](https://www.tutorialspoint.com/assets/profiles/308320/profile/60_124990-1617352847.jpg)
Mukul Latiyan
384 Views
There are different classes and keywords in Dart which we can use when we want to run Asynchronous code. The future class allows us to run asynchronous code and we can also avoid the callback hell with the help of it. A future mainly represents the result of an asynchronous operation.In Dart, ... Read More
![Mukul Latiyan](https://www.tutorialspoint.com/assets/profiles/308320/profile/60_124990-1617352847.jpg)
Mukul Latiyan
486 Views
Dart is a true object-oriented programming language. Even functions have their type in dart. Functions can be assigned to a variable and we can even pass them to another function as well. Functions in Dart are also objects, like everything else.Let's create a simple function that accepts an integer as ... Read More
![Mukul Latiyan](https://www.tutorialspoint.com/assets/profiles/308320/profile/60_124990-1617352847.jpg)
Mukul Latiyan
3K+ Views
The final keyword in Dart is used to create constants or objects that are immutable in nature. The only difference between the final and const keyword is that final is a runtime-constant, which in turn means that its value can be assigned at runtime instead of the compile-time that we had ... Read More