Author: misamaliraza94

  • Install the Dart SDK on Linux

    The steps of Dart installation on Linux is given below. Before installing the Dart, if you are Debian/Ubuntu on AMD64(64-bit Intel) in your local machine, you can install the Dart through one of the following options. Install using apt-get Install a Debian package Installation using apt-get Step -1: Type the following commands for a one-time setup. $sudo apt-get update   $ sudo apt-get install apt-transport-https     …

  • Install the Dart SDK on Windows

    Follow the below instructions to install Dark SDK in Windows. Step -1: Go to the browser and type the following link to download the SDK. http://www.gekorm.com/dart-windows/ It will open the given page. Click on the following link. Step – 2: Run the Dart installer(It is the .exe file that we downloaded in the previous step) and click on…

  • Dart Interfaces

    An interface defines the syntax that any entity must adhere to. Dart does not have any separate syntax to define interfaces. An Interface defines the same as the class where any set of methods can be accessed by an object. The Class declaration can interface itself. The keyword implement is needed to be writing, followed by class…

  • Dart Abstract Classes

    Abstract classes are the classes in Dart that has one or more abstract method. Abstraction is a part of the data encapsulation where the actual internal working of the function hides from the users. They interact only with external functionality. We can declare the abstract class by using the abstract keyword. There is a possibility…

  • Dart Getters and Setters

    Getters and setters are the special class method that is used to read and write access to an object’s properties. The getter method is used to reads the value of the variable or retrieve the value and setter method is used to set or initialize respective class fields. By default, all classes are associated with…

  • Dart Method Overriding

    What is Polymorphism? The polymorphism is a combination of the two Greek words poly, which means many and morph means morphing into different forms or shapes. Together, polymorphism means the same entity can be used in various forms. In the programming aspect, the same method can be used in different classes. This technique makes programming more intuitive and more accessible.…

  • Dart Methods

    A Dart method is the collection of statements that consists of some characteristics to class object. It provides the facility to perform some operation and it can be invoked by using its name when we need in the program. Methods divide the large task into small chunks and perform the specific operation of that program.…

  • Dart Super Constructor

    The child class can inherit all properties (methods, variables) and behavior of parent expect parent class constructor.& The superclass constructor can be invoke in sub class by using the super() constructor. We can access both non-parameterized and parameterized constructor of superclass. Accessing the constructor of superclass is slightly different in the Dart. The syntax is given below.…

  • Dart Inheritance

    Dart inheritance is defined as the process of deriving the properties and characteristics of another class. It provides the ability to create a new class from an existing class. It is the most essential concept of the oops(Object-Oriented programming approach). We can reuse the all the behavior and characteristics of the previous class in the…

  • Dart super Keyword

    The super keyword is used to denote the instant parent class object of the current child class. It is used to invoke superclass methods, superclass constructor in its child class. The super keyword’s main objective is to remove the confusion between parent class and subclass with the same method name. It is also used to…