MolecularViewer constructor
MolecularViewer({
- Key? key,
- required List<
AtomObject> atoms, - MolecularViewerController? controller,
A widget that displays a molecular structure. Strutegy: Atoms are drawn as circles with a shader that simulates a sphere.
Implementation
MolecularViewer(
{super.key, required this.atoms, MolecularViewerController? controller})
: controller = controller ?? MolecularViewerController();