It so happens that I started my acquaintance with IDEs with Eclipse, NetBeans, Android Studio. And now I got to Visual Studio Code. A good IDE is supposed to offer only those properties that belong to a given class. Is it normal behavior that in the following code snippet VSCode offers a width property for ElevatedButton?
SizedBox(
height: 50,
width: 250,
child: ElevatedButton(
style: ElevatedButton.styleFrom(
backgroundColor: Colors.deepPurple.withAlpha(400),
shape: kRBorderShape,
),
child: const Text('Barcode Scanner'),
onPressed: () {}
),
),
It so happens that I started my acquaintance with IDEs with Eclipse, NetBeans, Android Studio. And now I got to Visual Studio Code. A good IDE is supposed to offer only those properties that belong to a given class. Is it normal behavior that in the following code snippet VSCode offers a width property for ElevatedButton?
SizedBox(
height: 50,
width: 250,
child: ElevatedButton(
style: ElevatedButton.styleFrom(
backgroundColor: Colors.deepPurple.withAlpha(400),
shape: kRBorderShape,
),
child: const Text('Barcode Scanner'),
onPressed: () {}
),
),
You can check the differance between two images, The shape of the following suggestion is different from abc, abc is not property.
abc
icon suggests this is a simple word completion not any specific property or method completion. Its acting as a simple autocomplete and not offering any specific properties – Suraj Rao Commented Feb 2 at 7:37