Dart Basics

Fundamental Dart programming concepts including data types, variables, operators, and language features

33
Easy Questions
24
Medium Questions
1
Hard Questions

Easy Questions (33)

Data types in flutter or dart

flutterdart

Flutter difference between run app and main .dart ?

flutterdart

What is Object Oriented Programming in Dart: Polymorphism ?

dart

What is Object Oriented Programming in Dart: Encapsulation ?

dart

What is Object Oriented Programming in Dart: Inheritance ?

dart

What is Object Oriented Programming in Dart: Abstraction ?

dart

What is Object Oriented Programming in Dart: Classes & Objects ?

dart

What is Destroyer in dart ?

dart

Difference between dynamic and flutter generics ?

flutter
#108EasyDart Basics

In flutter what is the use of hasCode , equal to operator (== operator)

flutter
View Details →CodeResources
#110EasyDart Basics

What is Flutter logging view ?

flutterdart
View Details →CodeResources
#114EasyDart Basics

What is Dart: ffi (Foreign Function Interface)

dart
View Details →CodeResources
#118EasyDart Basics

What is dart record ?

dart
View Details →CodeResources
#119EasyDart Basics

What is guard in dart , give some example ?

dart

What is the null coalescing operator ? Ans: '??' to provide "" as a default value.

#134EasyDart Basics

What is predicate matching - give some example in dart?

dart
#135EasyDart Basics

Difference between import ‘../../file_name.dart VS import ‘package:Name/folder_name/file_name.dart

dart
View Details →CodeResources
#155EasyDart Basics

What is type annotation?

#158EasyDart Basics

Data types in swift?

#159EasyDart Basics

Data types in Kotlin or Java?

#173EasyDart Basics

What is spread operator ?

#174EasyDart Basics

What are all the different types of operator in dart or flutter ?

flutterdart

What is isolates ?

dart
View Details →CodeResources
#194EasyDart Basics

What is Annotations in flutter ? example it is resemble by “@” symbol

flutter
View Details →CodeResources

Flutter difference between null check operator and null aware operator ?

flutter
#224EasyDart Basics

what is Typedefs and what is the use of Typedefs ?

What is difference between using final vs get inside the class where to use which ?

What is the difference between normal constructor vs Factory constructor proviide me with some real world example ?

What is the use of static vs final vs const ? in flutter when to use which ?

flutter

What is Dart and Why does Flutter use it?

dartflutterbasics
View Details →CodeResources
#312EasyDart Basics

Differentiate between named parameters and positional parameters in Flutter

dartparametersfunctions

What is the difference between dependencies and dev_dependencies in pubspec.yaml?

flutterdartpubspecdependenciespackages

What is the difference between required, optional, and named parameters in Dart?

dartfunctionsparametersrequirednamed

Medium Questions (24)

Diff btw final & const

Diff btw var vs dynamic

#7MediumDart Basics

Named constructer in flutter

flutter
#17MediumDart Basics

Create private variable inside constructor

#23MediumDart Basics

`Var A =0 ;` on pressing the button can we change `A=“name”;`?

#52MediumDart Basics

Flutter keywords should learn them

flutterdart
#59MediumDart Basics

What are dart languages are used for ?

dart
#111MediumDart Basics

Flutter code formatting on auto save

flutterdart
#115MediumDart Basics

Enum data upper case or lower case

dart
View Details →CodeResources
#154MediumDart Basics

Flutter linter rules?

flutterdart
View Details →CodeResources
#175MediumDart Basics

Why does `numbers.addAll(2)` throw a compilation error in Dart, and how do you correctly add multiple items to a List?

dart
#213MediumDart Basics

Describe about riverpod statemangement ? with some live examples and riverpod annotation use cases too ? also define the lifecycle of the riverpod ? also when we use riverpod annotation will the lifecycle is managed by automatically ?

stateriverpod
View Details →CodeResources
#219MediumDart Basics

What are all the different operators in flutter ?

flutter

What is sound null safety?

dartnull-safetytype-system
View Details →CodeResources

How do mixins differ from interfaces in Dart?

dartmixinsinterfaces

Difference between string interpolation vs elvis operator vs force unwrap vs late init provide me with some example in flutter ?

dartnull-safetyoperatorsstring-interpolationelvis-operator
View Details →CodeResources

Does Flutter/Dart support interface classes? How do interfaces work in Dart?

dartinterfaceabstract-classimplementsoop
View Details →CodeResources

Dart & Flutter Control Flow and Conditional Rendering Techniques

dartfluttercontrol-flowconditional-renderingswitch

Explain clearly about immutability vs mutability in flutter with some proper examples

dartflutterimmutabilitymutabilityconst

Explain clearly about Deep Copy (Hard Copy) vs Shallow Copy (Soft Copy) in flutter with some proper examples

dartflutterdeep-copyshallow-copystate-management

How to remove the duplicate items in the list without using any built in methods like (contains, toSet(), where, indexOf) in flutter with some proper examples

dartdsalistduplicatesalgorithm

What is the difference between async and async* in Dart?

dartasyncstreamfuturegenerator

What are Runes in Dart?

dartrunesunicodeutf-16string

What is Symbol in Dart?

dartsymbolreflectionmirrorsidentifier

Hard Questions (1)

What is the difference between Abstract Class vs Interface Class vs Final Class vs Sealed Class?

dartoopabstract-classinterfacefinal-class
View Details →CodeResources