type of data in flutter code example
Example 1: check data type flutter
selector.runtimeType // return data type of the variable
Example:
if (selector.runtimeType == int) print("Hello")
Example 2: data types in flutter
main(List args) {
int number = 42;
String name = 'Gurleen Sethi';
double salary = 150300.56;
bool isDoorOpen = true;
}