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: Everything is a widget

Flutter: Statefull vs Stateless widget

Flutter: Container, Column and Rows