Dart: OOPS


OOPs in DART : Jyoti Panjwani | thesocialcomment

A class without constructor

A class with a constructor


Getters and Setters


Inheritance

Polymorphism

Polymorphism is a concept in OOP which means one object can have many forms. In a technical sense of statically typed languages like Dart means, a variable has the type of its class or any class that it inherits from

 

Comments

Popular posts from this blog

Flutter : Navigation and Routes

Flutter: MultiThreading, async await

Flutter : JSON parsing with Future Builder