From ce049dfddfae78ce960ddba36c6b26d1c76ed9aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20K=C3=A9kesi?= <64812024+KristofKekesi@users.noreply.github.com> Date: Wed, 21 Oct 2020 22:59:51 +0200 Subject: [PATCH] upd final product 0.4.2 --- lib/elements.json | 237 +++++++++++++++++----------------- lib/widgets/drawer.dart | 2 +- lib/widgets/viewSelector.dart | 4 +- pubspec.yaml | 2 +- 4 files changed, 122 insertions(+), 123 deletions(-) diff --git a/lib/elements.json b/lib/elements.json index 32a9af2..f089886 100644 --- a/lib/elements.json +++ b/lib/elements.json @@ -25,7 +25,7 @@ "chargedComponent": "1", "neutron": "0", - "isotopenum": "7", + "isotopeNum": "7", "isotopes-src": "isotopes/H.json" }, { "element": "He", @@ -53,7 +53,7 @@ "chargedComponent": "2", "neutron": "2", - "isotopenum": "9", + "isotopeNum": "9", "isotopes-src": "isotopes/He.json" }, { "element": "Li", @@ -80,7 +80,7 @@ "chargedComponent": "3", "neutron": "4", - "isotopenum": "10", + "isotopeNum": "10", "isotopes-src": "isotopes/Li.json" }, { "element": "Be", @@ -107,7 +107,7 @@ "chargedComponent": "4", "neutron": "5", - "isotopenum": "12", + "isotopeNum": "12", "isotopes-src": "isotopes/Be.json" }, { "element": "B", @@ -134,7 +134,7 @@ "chargedComponent": "5", "neutron": "6", - "isotopenum": "14", + "isotopeNum": "14", "isotopes-src": "isotopes/B.json" }, { "element": "C", @@ -161,7 +161,7 @@ "chargedComponent": "6", "neutron": "6", - "isotopenum": "15", + "isotopeNum": "15", "isotopes-src": "isotopes/C.json" }, { "element": "N", @@ -188,7 +188,7 @@ "chargedComponent": "7", "neutron": "7", - "isotopenum": "16", + "isotopeNum": "16", "isotopes-src": "isotopes/N.json" }, { "element": "O", @@ -215,7 +215,7 @@ "chargedComponent": "8", "neutron": "8", - "isotopenum": "17", + "isotopeNum": "17", "isotopes-src": "isotopes/O.json" }, { "element": "F", @@ -242,7 +242,7 @@ "chargedComponent": "9", "neutron": "10", - "isotopenum": "18", + "isotopeNum": "18", "isotopes-src": "isotopes/F.json" }, { "element": "Ne", @@ -269,7 +269,7 @@ "chargedComponent": "10", "neutron": "10", - "isotopenum": "19", + "isotopeNum": "19", "isotopes-src": "isotopes/Ne.json" }, { "element": "Na", @@ -296,7 +296,7 @@ "chargedComponent": "11", "neutron": "12", - "isotopenum": "20", + "isotopeNum": "20", "isotopes-src": "isotopes/Na.json" }, { "element": "Mg", @@ -323,7 +323,7 @@ "chargedComponent": "12", "neutron": "12", - "isotopenum": "22", + "isotopeNum": "22", "isotopes-src": "isotopes/Mg.json" }, { "element": "Al", @@ -350,7 +350,7 @@ "chargedComponent": "13", "neutron": "14", - "isotopenum": "22", + "isotopeNum": "22", "isotopes-src": "isotopes/Al.json" }, { "element": "Si", @@ -378,7 +378,7 @@ "neutron": "14", - "isotopenum": "23", + "isotopeNum": "23", "isotopes-src": "isotopes/Si.json" }, { "element": "P", @@ -405,7 +405,7 @@ "chargedComponent": "15", "neutron": "16", - "isotopenum": "23", + "isotopeNum": "23", "isotopes-src": "isotopes/P.json" }, { "element": "S", @@ -432,7 +432,7 @@ "chargedComponent": "16", "neutron": "16", - "isotopenum": "24", + "isotopeNum": "24", "isotopes-src": "isotopes/S.json" }, { "element": "Cl", @@ -459,7 +459,7 @@ "chargedComponent": "17", "neutron": "18", - "isotopenum": "24", + "isotopeNum": "24", "isotopes-src": "isotopes/Cl.json" }, { "element": "Ar", @@ -486,7 +486,7 @@ "chargedComponent": "18", "neutron": "22", - "isotopenum": "24", + "isotopeNum": "24", "isotopes-src": "isotopes/Ar.json" }, { "element": "K", @@ -513,7 +513,7 @@ "chargedComponent": "19", "neutron": "20", - "isotopenum": "24", + "isotopeNum": "24", "isotopes-src": "isotopes/K.json" }, { "element": "Ca", @@ -540,7 +540,7 @@ "chargedComponent": "20", "neutron": "20", - "isotopenum": "24", + "isotopeNum": "24", "isotopes-src": "isotopes/Ca.json" }, { "element": "Sc", @@ -567,7 +567,7 @@ "chargedComponent": "21", "neutron": "24", - "isotopenum": "25", + "isotopeNum": "25", "isotopes-src": "isotopes/Sc.json" }, { "element": "Ti", @@ -594,7 +594,7 @@ "chargedComponent": "26", "neutron": "22", - "isotopenum": "26", + "isotopeNum": "26", "isotopes-src": "isotopes/Ti.json" }, { "element": "V", @@ -621,7 +621,7 @@ "chargedComponent": "23", "neutron": "28", - "isotopenum": "26", + "isotopeNum": "26", "isotopes-src": "isotopes/V.json" }, { "element": "Cr", @@ -648,7 +648,7 @@ "chargedComponent": "24", "neutron": "28", - "isotopenum": "26", + "isotopeNum": "26", "isotopes-src": "isotopes/Cr.json" }, { "element": "Mn", @@ -675,7 +675,7 @@ "chargedComponent": "25", "neutron": "30", - "isotopenum": "26", + "isotopeNum": "26", "isotopes-src": "isotopes/Mn.json" }, { "element": "Fe", @@ -702,7 +702,7 @@ "chargedComponent": "26", "neutron": "30", - "isotopenum": "28", + "isotopeNum": "28", "isotopes-src": "isotopes/Fe.json" }, { "element": "Co", @@ -729,7 +729,7 @@ "chargedComponent": "27", "neutron": "32", - "isotopenum": "29", + "isotopeNum": "29", "isotopes-src": "isotopes/Co.json" }, { "element": "Ni", @@ -756,7 +756,7 @@ "chargedComponent": "28", "neutron": "31", - "isotopenum": "31", + "isotopeNum": "31", "isotopes-src": "isotopes/Ni.json" }, { "element": "Cu", @@ -783,7 +783,7 @@ "chargedComponent": "29", "neutron": "35", - "isotopenum": "29", + "isotopeNum": "29", "isotopes-src": "isotopes/Cu.json" }, { "element": "Zn", @@ -810,7 +810,7 @@ "chargedComponent": "35", "neutron": "30", - "isotopenum": "30", + "isotopeNum": "30", "isotopes-src": "isotopes/Zn.json" }, { "element": "Ga", @@ -834,11 +834,10 @@ "hu": "Gallium", "en": "Gallium", - "isotopenum": "", "chargedComponent": "31", "neutron": "38", - "isotopenum": "31", + "isotopeNum": "31", "isotopes-src": "isotopes/Ga.json" }, { "element": "Ge", @@ -865,7 +864,7 @@ "chargedComponent": "32", "neutron": "41", - "isotopenum": "32", + "isotopeNum": "32", "isotopes-src": "isotopes/Ge.json" }, { "element": "As", @@ -892,7 +891,7 @@ "chargedComponent": "33", "neutron": "42", - "isotopenum": "33", + "isotopeNum": "33", "isotopes-src": "isotopes/As.json" }, { "element": "Se", @@ -919,7 +918,7 @@ "chargedComponent": "34", "neutron": "45", - "isotopenum": "30", + "isotopeNum": "30", "isotopes-src": "isotopes/Se.json" }, { "element": "Br", @@ -946,7 +945,7 @@ "chargedComponent": "35", "neutron": "45", - "isotopenum": "31", + "isotopeNum": "31", "isotopes-src": "isotopes/Br.json" }, { "element": "Kr", @@ -974,7 +973,7 @@ "neutron": "48", - "isotopenum": "32", + "isotopeNum": "32", "isotopes-src": "isotopes/Kr.json" }, { "element": "Rb", @@ -1002,7 +1001,7 @@ "neutron": "48", - "isotopenum": "32", + "isotopeNum": "32", "isotopes-src": "isotopes/Rb.json" }, { "element": "Sr", @@ -1030,7 +1029,7 @@ "neutron": "50", - "isotopenum": "33", + "isotopeNum": "33", "isotopes-src": "isotopes/Sr.json" }, { "element": "Y", @@ -1057,7 +1056,7 @@ "chargedComponent": "39", "neutron": "50", - "isotopenum": "33", + "isotopeNum": "33", "isotopes-src": "isotopes/Y.json" }, { "element": "Zr", @@ -1084,7 +1083,7 @@ "chargedComponent": "40", "neutron": "51", - "isotopenum": "33", + "isotopeNum": "33", "isotopes-src": "isotopes/Zr.json" }, { "element": "Nb", @@ -1111,7 +1110,7 @@ "chargedComponent": "41", "neutron": "52", - "isotopenum": "33", + "isotopeNum": "33", "isotopes-src": "isotopes/Nb.json" }, { "element": "Mo", @@ -1138,7 +1137,7 @@ "chargedComponent": "42", "neutron": "54", - "isotopenum": "33", + "isotopeNum": "33", "isotopes-src": "isotopes/Mo.json" }, { "element": "Tc", @@ -1165,7 +1164,7 @@ "chargedComponent": "43", "neutron": "55", - "isotopenum": "34", + "isotopeNum": "34", "isotopes-src": "isotopes/Tc.json" }, { "element": "Ru", @@ -1192,7 +1191,7 @@ "chargedComponent": "44", "neutron": "57", - "isotopenum": "34", + "isotopeNum": "34", "isotopes-src": "isotopes/Ru.json" }, { "element": "Rh", @@ -1219,7 +1218,7 @@ "chargedComponent": "45", "neutron": "58", - "isotopenum": "34", + "isotopeNum": "34", "isotopes-src": "isotopes/Rh.json" }, { "element": "Pd", @@ -1246,7 +1245,7 @@ "chargedComponent": "46", "neutron": "60", - "isotopenum": "34", + "isotopeNum": "34", "isotopes-src": "isotopes/Pd.json" }, { "element": "Ag", @@ -1273,7 +1272,7 @@ "chargedComponent": "47", "neutron": "61", - "isotopenum": "38", + "isotopeNum": "38", "isotopes-src": "isotopes/Ag.json" }, { "element": "Cd", @@ -1300,7 +1299,7 @@ "chargedComponent": "48", "neutron": "64", - "isotopenum": "38", + "isotopeNum": "38", "isotopes-src": "isotopes/Cd.json" }, { "element": "In", @@ -1327,7 +1326,7 @@ "chargedComponent": "49", "neutron": "66", - "isotopenum": "39", + "isotopeNum": "39", "isotopes-src": "isotopes/In.json" }, { "element": "Sn", @@ -1354,7 +1353,7 @@ "chargedComponent": "50", "neutron": "69", - "isotopenum": "39", + "isotopeNum": "39", "isotopes-src": "isotopes/Sn.json" }, { "element": "Sb", @@ -1381,7 +1380,7 @@ "chargedComponent": "51", "neutron": "71", - "isotopenum": "37", + "isotopeNum": "37", "isotopes-src": "isotopes/Sb.json" }, { "element": "Te", @@ -1408,7 +1407,7 @@ "chargedComponent": "52", "neutron": "76", - "isotopenum": "38", + "isotopeNum": "38", "isotopes-src": "isotopes/Te.json" }, { @@ -1436,7 +1435,7 @@ "chargedComponent": "53", "neutron": "75", - "isotopenum": "37", + "isotopeNum": "37", "isotopes-src": "isotopes/I.json" }, { "element": "Xe", @@ -1463,7 +1462,7 @@ "chargedComponent": "54", "neutron": "77", - "isotopenum": "38", + "isotopeNum": "38", "isotopes-src": "isotopes/Xe.json" }, { "element": "Cs", @@ -1490,7 +1489,7 @@ "chargedComponent": "55", "neutron": "78", - "isotopenum": "40", + "isotopeNum": "40", "isotopes-src": "isotopes/Cs.json" }, { "element": "Ba", @@ -1517,7 +1516,7 @@ "chargedComponent": "86", "neutron": "81", - "isotopenum": "40", + "isotopeNum": "40", "isotopes-src": "isotopes/Ba.json" }, { "element": "La", @@ -1544,7 +1543,7 @@ "chargedComponent": "57", "neutron": "82", - "isotopenum": "39", + "isotopeNum": "39", "isotopes-src": "isotopes/La.json" }, { "element": "Ce", @@ -1571,7 +1570,7 @@ "chargedComponent": "58", "neutron": "82", - "isotopenum": "39", + "isotopeNum": "39", "isotopes-src": "isotopes/Ce.json" }, { "element": "Pr", @@ -1598,7 +1597,7 @@ "chargedComponent": "59", "neutron": "82", - "isotopenum": "39", + "isotopeNum": "39", "isotopes-src": "isotopes/Pr.json" }, { "element": "Nd", @@ -1625,7 +1624,7 @@ "chargedComponent": "60", "neutron": "84", - "isotopenum": "38", + "isotopeNum": "38", "isotopes-src": "isotopes/Nd.json" }, { "element": "Pm", @@ -1652,7 +1651,7 @@ "chargedComponent": "61", "neutron": "84", - "isotopenum": "38", + "isotopeNum": "38", "isotopes-src": "isotopes/Pm.json" }, { "element": "Sm", @@ -1679,7 +1678,7 @@ "chargedComponent": "62", "neutron": "88", - "isotopenum": "38", + "isotopeNum": "38", "isotopes-src": "isotopes/Sm.json" }, { "element": "Eu", @@ -1706,7 +1705,7 @@ "chargedComponent": "63", "neutron": "89", - "isotopenum": "38", + "isotopeNum": "38", "isotopes-src": "isotopes/Eu.json" }, { "element": "Gd", @@ -1733,7 +1732,7 @@ "chargedComponent": "64", "neutron": "93", - "isotopenum": "36", + "isotopeNum": "36", "isotopes-src": "isotopes/Gd.json" }, { "element": "Tb", @@ -1760,7 +1759,7 @@ "chargedComponent": "65", "neutron": "94", - "isotopenum": "36", + "isotopeNum": "36", "isotopes-src": "isotopes/Tb.json" }, { "element": "Dy", @@ -1787,7 +1786,7 @@ "chargedComponent": "66", "neutron": "97", - "isotopenum": "36", + "isotopeNum": "36", "isotopes-src": "isotopes/Dy.json" }, { "element": "Ho", @@ -1814,7 +1813,7 @@ "chargedComponent": "67", "neutron": "98", - "isotopenum": "36", + "isotopeNum": "36", "isotopes-src": "isotopes/Ho.json" }, { "element": "Er", @@ -1841,7 +1840,7 @@ "chargedComponent": "68", "neutron": "99", - "isotopenum": "35", + "isotopeNum": "35", "isotopes-src": "isotopes/Er.json" }, { "element": "Tm", @@ -1868,7 +1867,7 @@ "chargedComponent": "69", "neutron": "100", - "isotopenum": "35", + "isotopeNum": "35", "isotopes-src": "isotopes/Tm.json" }, { "element": "Yb", @@ -1895,7 +1894,7 @@ "chargedComponent": "70", "neutron": "103", - "isotopenum": "35", + "isotopeNum": "35", "isotopes-src": "isotopes/Yb.json" }, { "element": "Lu", @@ -1922,7 +1921,7 @@ "chargedComponent": "71", "neutron": "104", - "isotopenum": "35", + "isotopeNum": "35", "isotopes-src": "isotopes/Lu.json" }, { "element": "Hf", @@ -1949,7 +1948,7 @@ "chargedComponent": "72", "neutron": "106", - "isotopenum": 36"", + "isotopeNum": "36", "isotopes-src": "isotopes/Hf.json" }, { "element": "Ta", @@ -1976,7 +1975,7 @@ "chargedComponent": "73", "neutron": "108", - "isotopenum": "36", + "isotopeNum": "36", "isotopes-src": "isotopes/Ta.json" }, { "element": "W", @@ -2003,7 +2002,7 @@ "chargedComponent": "74", "neutron": "110", - "isotopenum": "35", + "isotopeNum": "35", "isotopes-src": "isotopes/W.json" }, { "element": "Re", @@ -2030,7 +2029,7 @@ "chargedComponent": "75", "neutron": "111", - "isotopenum": "35", + "isotopeNum": "35", "isotopes-src": "isotopes/Re.json" }, { "element": "Os", @@ -2057,7 +2056,7 @@ "chargedComponent": "76", "neutron": "114", - "isotopenum": "35", + "isotopeNum": "35", "isotopes-src": "isotopes/Os.json" }, { "element": "Ir", @@ -2084,7 +2083,7 @@ "chargedComponent": "77", "neutron": "115", - "isotopenum": "36", + "isotopeNum": "36", "isotopes-src": "isotopes/Ir.json" }, { "element": "Pt", @@ -2111,7 +2110,7 @@ "chargedComponent": "78", "neutron": "117", - "isotopenum": "37", + "isotopeNum": "37", "isotopes-src": "isotopes/Pt.json" }, { "element": "Au", @@ -2138,7 +2137,7 @@ "chargedComponent": "79", "neutron": "118", - "isotopenum": "37", + "isotopeNum": "37", "isotopes-src": "isotopes/Au.json" }, { "element": "Hg", @@ -2165,7 +2164,7 @@ "chargedComponent": "80", "neutron": "121", - "isotopenum": "40", + "isotopeNum": "40", "isotopes-src": "isotopes/Hg.json" }, { "element": "Tl", @@ -2192,7 +2191,7 @@ "chargedComponent": "81", "neutron": "123", - "isotopenum": "37", + "isotopeNum": "37", "isotopes-src": "isotopes/Tl.json" }, { "element": "Pb", @@ -2219,7 +2218,7 @@ "chargedComponent": "82", "neutron": "125", - "isotopenum": "38", + "isotopeNum": "38", "isotopes-src": "isotopes/Pb.json" }, { "element": "Bi", @@ -2246,7 +2245,7 @@ "chargedComponent": "83", "neutron": "126", - "isotopenum": "36", + "isotopeNum": "36", "isotopes-src": "isotopes/Bi.json" }, { "element": "Po", @@ -2273,7 +2272,7 @@ "chargedComponent": "84", "neutron": "125", - "isotopenum": "33", + "isotopeNum": "33", "isotopes-src": "isotopes/Po.json" }, { "element": "At", @@ -2300,7 +2299,7 @@ "chargedComponent": "85", "neutron": "125", - "isotopenum": "31", + "isotopeNum": "31", "isotopes-src": "isotopes/At.json" }, { "element": "Rn", @@ -2327,7 +2326,7 @@ "chargedComponent": "86", "neutron": "136", - "isotopenum": "34", + "isotopeNum": "34", "isotopes-src": "isotopes/Rn.json" }, { "element": "Fr", @@ -2354,7 +2353,7 @@ "chargedComponent": "87", "neutron": "136", - "isotopenum": "34", + "isotopeNum": "34", "isotopes-src": "isotopes/Fr.json" }, { "element": "Ra", @@ -2381,7 +2380,7 @@ "chargedComponent": "88", "neutron": "138", - "isotopenum": "34", + "isotopeNum": "34", "isotopes-src": "isotopes/Ra.json" }, { "element": "Ac", @@ -2408,7 +2407,7 @@ "chargedComponent": "89", "neutron": "138", - "isotopenum": "31", + "isotopeNum": "31", "isotopes-src": "isotopes/Ac.json" }, { "element": "Th", @@ -2435,7 +2434,7 @@ "chargedComponent": "90", "neutron": "142", - "isotopenum": "30", + "isotopeNum": "30", "isotopes-src": "isotopes/Th.json" }, { "element": "Pa", @@ -2462,7 +2461,7 @@ "chargedComponent": "91", "neutron": "148", - "isotopenum": "29", + "isotopeNum": "29", "isotopes-src": "isotopes/Pa.json" }, { "element": "U", @@ -2489,7 +2488,7 @@ "chargedComponent": "92", "neutron": "146", - "isotopenum": "26", + "isotopeNum": "26", "isotopes-src": "isotopes/U.json" }, { "element": "Np", @@ -2516,7 +2515,7 @@ "chargedComponent": "93", "neutron": "144", - "isotopenum": "20", + "isotopeNum": "20", "isotopes-src": "isotopes/Np.json" }, { "element": "Pu", @@ -2543,7 +2542,7 @@ "chargedComponent": "94", "neutron": "150", - "isotopenum": "20", + "isotopeNum": "20", "isotopes-src": "isotopes/Pu.json" }, { "element": "Am", @@ -2570,7 +2569,7 @@ "chargedComponent": "95", "neutron": "148", - "isotopenum": "19", + "isotopeNum": "19", "isotopes-src": "isotopes/Am.json" }, { "element": "Cm", @@ -2597,7 +2596,7 @@ "chargedComponent": "96", "neutron": "151", - "isotopenum": "20", + "isotopeNum": "20", "isotopes-src": "isotopes/Cm.json" }, { "element": "Bk", @@ -2624,7 +2623,7 @@ "chargedComponent": "97", "neutron": "150", - "isotopenum": "20", + "isotopeNum": "20", "isotopes-src": "isotopes/Bk.json" }, { "element": "Cf", @@ -2651,7 +2650,7 @@ "chargedComponent": "98", "neutron": "153", - "isotopenum": "20", + "isotopeNum": "20", "isotopes-src": "isotopes/Cf.json" }, { "element": "Es", @@ -2678,7 +2677,7 @@ "chargedComponent": "99", "neutron": "153", - "isotopenum": "19", + "isotopeNum": "19", "isotopes-src": "isotopes/Es.json" }, { "element": "Fm", @@ -2705,7 +2704,7 @@ "chargedComponent": "100", "neutron": "157", - "isotopenum": "19", + "isotopeNum": "19", "isotopes-src": "isotopes/Fm.json" }, { "element": "Md", @@ -2732,7 +2731,7 @@ "chargedComponent": "101", "neutron": "157", - "isotopenum": "18", + "isotopeNum": "18", "isotopes-src": "isotopes/Md.json" }, { "element": "No", @@ -2759,7 +2758,7 @@ "chargedComponent": "102", "neutron": "157", - "isotopenum": "17", + "isotopeNum": "17", "isotopes-src": "isotopes/No.json" }, { "element": "Lr", @@ -2786,7 +2785,7 @@ "chargedComponent": "103", "neutron": "159", - "isotopenum": "16", + "isotopeNum": "16", "isotopes-src": "isotopes/Lr.json" }, { "element": "Rf", @@ -2813,7 +2812,7 @@ "chargedComponent": "104", "neutron": "157", - "isotopenum": "16", + "isotopeNum": "16", "isotopes-src": "isotopes/Rf.json" }, { "element": "Db", @@ -2840,7 +2839,7 @@ "chargedComponent": "105", "neutron": "157", - "isotopenum": "16", + "isotopeNum": "16", "isotopes-src": "isotopes/Db.json" }, { "element": "Sg", @@ -2867,7 +2866,7 @@ "chargedComponent": "106", "neutron": "157", - "isotopenum": "16", + "isotopeNum": "16", "isotopes-src": "isotopes/Sg.json" }, { "element": "Bh", @@ -2894,7 +2893,7 @@ "chargedComponent": "107", "neutron": "155", - "isotopenum": "16", + "isotopeNum": "16", "isotopes-src": "isotopes/Bh.json" }, { "element": "Hs", @@ -2921,7 +2920,7 @@ "chargedComponent": "108", "neutron": "157", - "isotopenum": "15", + "isotopeNum": "15", "isotopes-src": "isotopes/Hs.json" }, { "element": "Mt", @@ -2948,7 +2947,7 @@ "chargedComponent": "109", "neutron": "157", - "isotopenum": "15", + "isotopeNum": "15", "isotopes-src": "isotopes/Mt.json" }, { "element": "Ds", @@ -2975,7 +2974,7 @@ "chargedComponent": "110", "neutron": "151", - "isotopenum": "15", + "isotopeNum": "15", "isotopes-src": "isotopes/Ds.json" }, { "element": "Rg", @@ -3002,7 +3001,7 @@ "chargedComponent": "111", "neutron": "161", - "isotopenum": "12", + "isotopeNum": "12", "isotopes-src": "isotopes/Rg.json" }, { "element": "Cn", @@ -3029,7 +3028,7 @@ "chargedComponent": "112", "neutron": "165", - "isotopenum": "9", + "isotopeNum": "9", "isotopes-src": "isotopes/Cn.json" }, { "element": "Nh", @@ -3056,7 +3055,7 @@ "chargedComponent": "113", "neutron": "173", - "isotopenum": "5", + "isotopeNum": "5", "isotopes-src": "isotopes/Nh.json" }, { "element": "Fl", @@ -3083,7 +3082,7 @@ "chargedComponent": "114", "neutron": "175", - "isotopenum": "5", + "isotopeNum": "5", "isotopes-src": "isotopes/Fl.json" }, { "element": "Mc", @@ -3110,7 +3109,7 @@ "chargedComponent": "115", "neutron": "175", - "isotopenum": "5", + "isotopeNum": "5", "isotopes-src": "isotopes/Mc.json" }, { "element": "Lv", @@ -3137,7 +3136,7 @@ "chargedComponent": "116", "neutron": "177", - "isotopenum": "4", + "isotopeNum": "4", "isotopes-src": "isotopes/Lv.json" }, { "element": "Ts", @@ -3164,7 +3163,7 @@ "chargedComponent": "117", "neutron": "177", - "isotopenum": "4", + "isotopeNum": "4", "isotopes-src": "isotopes/Ts.json" }, { "element": "Og", @@ -3191,7 +3190,7 @@ "chargedComponent": "118", "neutron": "176", - "isotopenum": "1", + "isotopeNum": "1", "isotopes-src": "isotopes/Og.json" } ] diff --git a/lib/widgets/drawer.dart b/lib/widgets/drawer.dart index b7f0258..21f0b19 100644 --- a/lib/widgets/drawer.dart +++ b/lib/widgets/drawer.dart @@ -156,7 +156,7 @@ class customDrawer extends StatelessWidget { void autoAboutDialog(context) { showAboutDialog( context: context, - applicationVersion: '0.4.1', + applicationVersion: '0.4.2', applicationName: 'Elements', applicationLegalese: 'Kristóf Kékesi', children: [ diff --git a/lib/widgets/viewSelector.dart b/lib/widgets/viewSelector.dart index ba6ce88..1926712 100644 --- a/lib/widgets/viewSelector.dart +++ b/lib/widgets/viewSelector.dart @@ -230,9 +230,9 @@ class viewSelectorState extends State { if (stateIsotopenum == true) { if (isotopenumMin <= - double.parse(elementList[index]['isotopenum']) && + double.parse(elementList[index]['isotopeNum']) && isotopenumMax >= - double.parse(elementList[index]['isotopenum'])) { + double.parse(elementList[index]['isotopeNum'])) { } else { passed = false; } diff --git a/pubspec.yaml b/pubspec.yaml index 16daa53..cdf60e7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: A modern app to track the cemistry's elements. Including all 118 el publish_to: 'none' -version: 0.4.1+13 +version: 0.4.2+14 environment: sdk: ">=2.7.0 <3.0.0"