chemical_elements 1.0.0 copy "chemical_elements: ^1.0.0" to clipboard
chemical_elements: ^1.0.0 copied to clipboard

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

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:elements/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 #


0
likes
130
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

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

Documentation

API reference

License

MIT (license)

More

Packages that depend on chemical_elements