const String name = "John";
static String name = "Tom";
static const name = "Alex";
I read somewhere that const
variables are static by default. Are the three above the same?
const String name = "John";
static String name = "Tom";
static const name = "Alex";
I read somewhere that const
variables are static by default. Are the three above the same?