Atom constructor
Atom({
- required String elementName,
- required Vector3 position,
Implementation
Atom({required String elementName, required Vector3 position})
: super((atoms[elementName]?.radius ?? 1) * 1.2, position,
color: atoms[elementName]?.color ?? const Color(0xff000000));