Skip to content

mrinaljain/namaste_dart

Repository files navigation

DART

  • Object oriented Programing lamguage
  • Every dart program starts ith a main function
  • 2 type of compilation happens
    • JIT
    • AOT
  • Staticaly typed means datatype is defined along side the variable
final String name = "Mrinal";
String lastName = "Jain";
  • Type inference also happens in Dart Means no need to define datatype while defining the variable, dart will automatically infer the type.
var name = "Mrinal";
  • all the dart functionalites are available inside dart:core package

  • Dart Datatype

    • int
    • double
    • String
    • bool
    • dynamic

TODO

  • Concrete implementation of abstract class

  • Pillars of OOPS

    • Inheritance
      • Extend
      • Implement
    • Abstraction ()
      • Abstract Class
    • Polymorphism (many forms)
      • Methode Overloading
      • Method Overriding
    • Encapsulation (using getter setter)
      • private var
  • nullable

  • non-nullable

  • runtime type

  • optional variables

  • class modifiers

    • sealed class
    • final class
  • Generics

  • map method

  • If case in dart

Questions

  1. When would you use profile mode in Flutter?

  2. When would you use release mode in Flutter?

  3. Diffrent types of animation in Flutter.

  4. Talk about Mixin?

  5. Dart supports multiple inheretance? if not are there any alternatives?

  6. Basic state management in flutter.

  7. SOLID principle inside Flutter.

  8. Why do we use provider over BlOC/ riverpod etc ?