Sourav Mandalsourav091.hashnode.dev·Mar 23, 2023Difference between "var" and "dynamic" type in Dart?If a variable is declared as dynamic, its type can change over time. dynamic a = 'abc'; //initially it's a string a = 123; //then we assign an int value to it a = true; //and then a bool If you declare a variable as a var, once the assigned type can...4 likes·47 readsFlutterAdd a thoughtful commentNo comments yetBe the first to start the conversation.