Difference between Dot(.) Two dots(..) and Three dots(...) in flutter
Dot(.)
Dot(.) is used for accessing members ( properties, functions and methods ) of an object. It is used to fetch methods or access properties of object.
Two Dots(..)
The two dots(..) is also known as the cascade operator. It allows you to perform a sequence of operations on the same object without repeating the object's name. It is useful when you need to invoke or fetch multiple methods or modify multiple properties of an object.
Three Dots(...)
The three dots(...) or Spread operators which makes it possible for us to add multiple values to a collection. This collection can be a list, a set, or a map. This operator is a replacement for add or addAll operator in Dart.