Chemical Elements

Hecho en 🇵🇷 por Radamés J. Valentín Reyes

What it is

An array/List with all of the chemical elements and some of its related info

Import

import 'package:chemical_elements/chemical_elements.dart';

Where are all elements stored?

The elements array

elements[itemIndex];

Example

ChemicalElement nitrogen = elements[elements.indexWhere((element) => element.chemicalSymbol == "N")];
print(nitrogen.elementName);
print("Atomic number: ${nitrogen.atomicNumber}");
print("Atomic mass: ${nitrogen.atomicMass}");

Contribute/donate by tapping on the Pay Pal logo/image


Libraries

chemical_elements