diff --git a/CHANGELOG.md b/CHANGELOG.md index 8531144..bfbdba9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,4 +32,8 @@ Added some documentation ## 0.2.2 -Added textStyle and padding as widget parameters \ No newline at end of file +Added textStyle and padding as widget parameters + +## 1.0 + +Use png flags instead of a font \ No newline at end of file diff --git a/flags/ad.png b/flags/ad.png new file mode 100644 index 0000000..15b11be Binary files /dev/null and b/flags/ad.png differ diff --git a/flags/ae.png b/flags/ae.png new file mode 100644 index 0000000..7aed004 Binary files /dev/null and b/flags/ae.png differ diff --git a/flags/af.png b/flags/af.png new file mode 100644 index 0000000..c9f4278 Binary files /dev/null and b/flags/af.png differ diff --git a/flags/ag.png b/flags/ag.png new file mode 100644 index 0000000..30e35d3 Binary files /dev/null and b/flags/ag.png differ diff --git a/flags/ai.png b/flags/ai.png new file mode 100644 index 0000000..c2248ce Binary files /dev/null and b/flags/ai.png differ diff --git a/flags/al.png b/flags/al.png new file mode 100644 index 0000000..613dc60 Binary files /dev/null and b/flags/al.png differ diff --git a/flags/am.png b/flags/am.png new file mode 100644 index 0000000..a9fd436 Binary files /dev/null and b/flags/am.png differ diff --git a/flags/an.png b/flags/an.png new file mode 100644 index 0000000..3a48225 Binary files /dev/null and b/flags/an.png differ diff --git a/flags/ao.png b/flags/ao.png new file mode 100644 index 0000000..518fa77 Binary files /dev/null and b/flags/ao.png differ diff --git a/flags/aq.png b/flags/aq.png new file mode 100644 index 0000000..dc64ffe Binary files /dev/null and b/flags/aq.png differ diff --git a/flags/ar.png b/flags/ar.png new file mode 100644 index 0000000..bc70896 Binary files /dev/null and b/flags/ar.png differ diff --git a/flags/as.png b/flags/as.png new file mode 100644 index 0000000..62f476e Binary files /dev/null and b/flags/as.png differ diff --git a/flags/at.png b/flags/at.png new file mode 100644 index 0000000..23d6cbc Binary files /dev/null and b/flags/at.png differ diff --git a/flags/au.png b/flags/au.png new file mode 100644 index 0000000..c44fdf0 Binary files /dev/null and b/flags/au.png differ diff --git a/flags/aw.png b/flags/aw.png new file mode 100644 index 0000000..8a23c57 Binary files /dev/null and b/flags/aw.png differ diff --git a/flags/ax.png b/flags/ax.png new file mode 100644 index 0000000..ea6df71 Binary files /dev/null and b/flags/ax.png differ diff --git a/flags/az.png b/flags/az.png new file mode 100644 index 0000000..13262d6 Binary files /dev/null and b/flags/az.png differ diff --git a/flags/ba.png b/flags/ba.png new file mode 100644 index 0000000..5447a49 Binary files /dev/null and b/flags/ba.png differ diff --git a/flags/bb.png b/flags/bb.png new file mode 100644 index 0000000..014319d Binary files /dev/null and b/flags/bb.png differ diff --git a/flags/bd.png b/flags/bd.png new file mode 100644 index 0000000..57dfbab Binary files /dev/null and b/flags/bd.png differ diff --git a/flags/be.png b/flags/be.png new file mode 100644 index 0000000..2a68de6 Binary files /dev/null and b/flags/be.png differ diff --git a/flags/bf.png b/flags/bf.png new file mode 100644 index 0000000..57ddf6f Binary files /dev/null and b/flags/bf.png differ diff --git a/flags/bg.png b/flags/bg.png new file mode 100644 index 0000000..dfc4284 Binary files /dev/null and b/flags/bg.png differ diff --git a/flags/bh.png b/flags/bh.png new file mode 100644 index 0000000..802f63c Binary files /dev/null and b/flags/bh.png differ diff --git a/flags/bi.png b/flags/bi.png new file mode 100644 index 0000000..4ae2f52 Binary files /dev/null and b/flags/bi.png differ diff --git a/flags/bj.png b/flags/bj.png new file mode 100644 index 0000000..d424740 Binary files /dev/null and b/flags/bj.png differ diff --git a/flags/bl.png b/flags/bl.png new file mode 100644 index 0000000..e8f6967 Binary files /dev/null and b/flags/bl.png differ diff --git a/flags/bm.png b/flags/bm.png new file mode 100644 index 0000000..a30ffbf Binary files /dev/null and b/flags/bm.png differ diff --git a/flags/bn.png b/flags/bn.png new file mode 100644 index 0000000..9581ebc Binary files /dev/null and b/flags/bn.png differ diff --git a/flags/bo.png b/flags/bo.png new file mode 100644 index 0000000..d1e5110 Binary files /dev/null and b/flags/bo.png differ diff --git a/flags/bq.png b/flags/bq.png new file mode 100644 index 0000000..c3c61e6 Binary files /dev/null and b/flags/bq.png differ diff --git a/flags/br.png b/flags/br.png new file mode 100644 index 0000000..8d7e04d Binary files /dev/null and b/flags/br.png differ diff --git a/flags/bs.png b/flags/bs.png new file mode 100644 index 0000000..ec83de1 Binary files /dev/null and b/flags/bs.png differ diff --git a/flags/bt.png b/flags/bt.png new file mode 100644 index 0000000..1d6b8a2 Binary files /dev/null and b/flags/bt.png differ diff --git a/flags/bv.png b/flags/bv.png new file mode 100644 index 0000000..7c04d86 Binary files /dev/null and b/flags/bv.png differ diff --git a/flags/bw.png b/flags/bw.png new file mode 100644 index 0000000..24a25e6 Binary files /dev/null and b/flags/bw.png differ diff --git a/flags/by.png b/flags/by.png new file mode 100644 index 0000000..f6f3f3a Binary files /dev/null and b/flags/by.png differ diff --git a/flags/bz.png b/flags/bz.png new file mode 100644 index 0000000..a443511 Binary files /dev/null and b/flags/bz.png differ diff --git a/flags/ca.png b/flags/ca.png new file mode 100644 index 0000000..2daa5f4 Binary files /dev/null and b/flags/ca.png differ diff --git a/flags/cc.png b/flags/cc.png new file mode 100644 index 0000000..e68db45 Binary files /dev/null and b/flags/cc.png differ diff --git a/flags/cd.png b/flags/cd.png new file mode 100644 index 0000000..ffad510 Binary files /dev/null and b/flags/cd.png differ diff --git a/flags/cf.png b/flags/cf.png new file mode 100644 index 0000000..f9b0d7d Binary files /dev/null and b/flags/cf.png differ diff --git a/flags/cg.png b/flags/cg.png new file mode 100644 index 0000000..88c0fc3 Binary files /dev/null and b/flags/cg.png differ diff --git a/flags/ch.png b/flags/ch.png new file mode 100644 index 0000000..03bfec9 Binary files /dev/null and b/flags/ch.png differ diff --git a/flags/ci.png b/flags/ci.png new file mode 100644 index 0000000..8b9926e Binary files /dev/null and b/flags/ci.png differ diff --git a/flags/ck.png b/flags/ck.png new file mode 100644 index 0000000..d09b054 Binary files /dev/null and b/flags/ck.png differ diff --git a/flags/cl.png b/flags/cl.png new file mode 100644 index 0000000..3b01369 Binary files /dev/null and b/flags/cl.png differ diff --git a/flags/cm.png b/flags/cm.png new file mode 100644 index 0000000..d4f7853 Binary files /dev/null and b/flags/cm.png differ diff --git a/flags/cn.png b/flags/cn.png new file mode 100644 index 0000000..4c9fd06 Binary files /dev/null and b/flags/cn.png differ diff --git a/flags/co.png b/flags/co.png new file mode 100644 index 0000000..12fdfc5 Binary files /dev/null and b/flags/co.png differ diff --git a/flags/cr.png b/flags/cr.png new file mode 100644 index 0000000..b8d3381 Binary files /dev/null and b/flags/cr.png differ diff --git a/flags/cu.png b/flags/cu.png new file mode 100644 index 0000000..9a27f2f Binary files /dev/null and b/flags/cu.png differ diff --git a/flags/cv.png b/flags/cv.png new file mode 100644 index 0000000..5d2e9b6 Binary files /dev/null and b/flags/cv.png differ diff --git a/flags/cw.png b/flags/cw.png new file mode 100644 index 0000000..5086710 Binary files /dev/null and b/flags/cw.png differ diff --git a/flags/cx.png b/flags/cx.png new file mode 100644 index 0000000..3a60b77 Binary files /dev/null and b/flags/cx.png differ diff --git a/flags/cy.png b/flags/cy.png new file mode 100644 index 0000000..d9df5fc Binary files /dev/null and b/flags/cy.png differ diff --git a/flags/cz.png b/flags/cz.png new file mode 100644 index 0000000..f72de95 Binary files /dev/null and b/flags/cz.png differ diff --git a/flags/de.png b/flags/de.png new file mode 100644 index 0000000..a2bfb75 Binary files /dev/null and b/flags/de.png differ diff --git a/flags/dj.png b/flags/dj.png new file mode 100644 index 0000000..543094e Binary files /dev/null and b/flags/dj.png differ diff --git a/flags/dk.png b/flags/dk.png new file mode 100644 index 0000000..5e32ba7 Binary files /dev/null and b/flags/dk.png differ diff --git a/flags/dm.png b/flags/dm.png new file mode 100644 index 0000000..e5bde41 Binary files /dev/null and b/flags/dm.png differ diff --git a/flags/do.png b/flags/do.png new file mode 100644 index 0000000..2aca4a1 Binary files /dev/null and b/flags/do.png differ diff --git a/flags/dz.png b/flags/dz.png new file mode 100644 index 0000000..064a9c1 Binary files /dev/null and b/flags/dz.png differ diff --git a/flags/ec.png b/flags/ec.png new file mode 100644 index 0000000..5430996 Binary files /dev/null and b/flags/ec.png differ diff --git a/flags/ee.png b/flags/ee.png new file mode 100644 index 0000000..74741d5 Binary files /dev/null and b/flags/ee.png differ diff --git a/flags/eg.png b/flags/eg.png new file mode 100644 index 0000000..c666f54 Binary files /dev/null and b/flags/eg.png differ diff --git a/flags/eh.png b/flags/eh.png new file mode 100644 index 0000000..0310995 Binary files /dev/null and b/flags/eh.png differ diff --git a/flags/er.png b/flags/er.png new file mode 100644 index 0000000..32ae309 Binary files /dev/null and b/flags/er.png differ diff --git a/flags/es.png b/flags/es.png new file mode 100644 index 0000000..f69bf50 Binary files /dev/null and b/flags/es.png differ diff --git a/flags/et.png b/flags/et.png new file mode 100644 index 0000000..87d5727 Binary files /dev/null and b/flags/et.png differ diff --git a/flags/eu.png b/flags/eu.png new file mode 100644 index 0000000..f3e74e4 Binary files /dev/null and b/flags/eu.png differ diff --git a/flags/fi.png b/flags/fi.png new file mode 100644 index 0000000..4421453 Binary files /dev/null and b/flags/fi.png differ diff --git a/flags/fj.png b/flags/fj.png new file mode 100644 index 0000000..c6de5f9 Binary files /dev/null and b/flags/fj.png differ diff --git a/flags/fk.png b/flags/fk.png new file mode 100644 index 0000000..d697767 Binary files /dev/null and b/flags/fk.png differ diff --git a/flags/fm.png b/flags/fm.png new file mode 100644 index 0000000..d60127e Binary files /dev/null and b/flags/fm.png differ diff --git a/flags/fo.png b/flags/fo.png new file mode 100644 index 0000000..82eb48d Binary files /dev/null and b/flags/fo.png differ diff --git a/flags/fr.png b/flags/fr.png new file mode 100644 index 0000000..8f574ce Binary files /dev/null and b/flags/fr.png differ diff --git a/flags/ga.png b/flags/ga.png new file mode 100644 index 0000000..41bf567 Binary files /dev/null and b/flags/ga.png differ diff --git a/flags/gb-eng.png b/flags/gb-eng.png new file mode 100644 index 0000000..c8ebb01 Binary files /dev/null and b/flags/gb-eng.png differ diff --git a/flags/gb-nir.png b/flags/gb-nir.png new file mode 100644 index 0000000..d6eca99 Binary files /dev/null and b/flags/gb-nir.png differ diff --git a/flags/gb-sct.png b/flags/gb-sct.png new file mode 100644 index 0000000..195c546 Binary files /dev/null and b/flags/gb-sct.png differ diff --git a/flags/gb-wls.png b/flags/gb-wls.png new file mode 100644 index 0000000..6e0443d Binary files /dev/null and b/flags/gb-wls.png differ diff --git a/flags/gb.png b/flags/gb.png new file mode 100644 index 0000000..d6eca99 Binary files /dev/null and b/flags/gb.png differ diff --git a/flags/gd.png b/flags/gd.png new file mode 100644 index 0000000..55f2be8 Binary files /dev/null and b/flags/gd.png differ diff --git a/flags/ge.png b/flags/ge.png new file mode 100644 index 0000000..ee67441 Binary files /dev/null and b/flags/ge.png differ diff --git a/flags/gf.png b/flags/gf.png new file mode 100644 index 0000000..1cedcd9 Binary files /dev/null and b/flags/gf.png differ diff --git a/flags/gg.png b/flags/gg.png new file mode 100644 index 0000000..89a7bc0 Binary files /dev/null and b/flags/gg.png differ diff --git a/flags/gh.png b/flags/gh.png new file mode 100644 index 0000000..a5de024 Binary files /dev/null and b/flags/gh.png differ diff --git a/flags/gi.png b/flags/gi.png new file mode 100644 index 0000000..db9ff4e Binary files /dev/null and b/flags/gi.png differ diff --git a/flags/gl.png b/flags/gl.png new file mode 100644 index 0000000..6a43d8c Binary files /dev/null and b/flags/gl.png differ diff --git a/flags/gm.png b/flags/gm.png new file mode 100644 index 0000000..820c51e Binary files /dev/null and b/flags/gm.png differ diff --git a/flags/gn.png b/flags/gn.png new file mode 100644 index 0000000..7dde195 Binary files /dev/null and b/flags/gn.png differ diff --git a/flags/gp.png b/flags/gp.png new file mode 100644 index 0000000..7392755 Binary files /dev/null and b/flags/gp.png differ diff --git a/flags/gq.png b/flags/gq.png new file mode 100644 index 0000000..0706728 Binary files /dev/null and b/flags/gq.png differ diff --git a/flags/gr.png b/flags/gr.png new file mode 100644 index 0000000..451bce3 Binary files /dev/null and b/flags/gr.png differ diff --git a/flags/gs.png b/flags/gs.png new file mode 100644 index 0000000..5809efb Binary files /dev/null and b/flags/gs.png differ diff --git a/flags/gt.png b/flags/gt.png new file mode 100644 index 0000000..e4bc5bd Binary files /dev/null and b/flags/gt.png differ diff --git a/flags/gu.png b/flags/gu.png new file mode 100644 index 0000000..9ff22b0 Binary files /dev/null and b/flags/gu.png differ diff --git a/flags/gw.png b/flags/gw.png new file mode 100644 index 0000000..7145e28 Binary files /dev/null and b/flags/gw.png differ diff --git a/flags/gy.png b/flags/gy.png new file mode 100644 index 0000000..ce6fc9e Binary files /dev/null and b/flags/gy.png differ diff --git a/flags/hk.png b/flags/hk.png new file mode 100644 index 0000000..bab1a05 Binary files /dev/null and b/flags/hk.png differ diff --git a/flags/hm.png b/flags/hm.png new file mode 100644 index 0000000..c44fdf0 Binary files /dev/null and b/flags/hm.png differ diff --git a/flags/hn.png b/flags/hn.png new file mode 100644 index 0000000..683d038 Binary files /dev/null and b/flags/hn.png differ diff --git a/flags/hr.png b/flags/hr.png new file mode 100644 index 0000000..094c406 Binary files /dev/null and b/flags/hr.png differ diff --git a/flags/ht.png b/flags/ht.png new file mode 100644 index 0000000..bc95487 Binary files /dev/null and b/flags/ht.png differ diff --git a/flags/hu.png b/flags/hu.png new file mode 100644 index 0000000..dd64826 Binary files /dev/null and b/flags/hu.png differ diff --git a/flags/id.png b/flags/id.png new file mode 100644 index 0000000..5ac1fab Binary files /dev/null and b/flags/id.png differ diff --git a/flags/ie.png b/flags/ie.png new file mode 100644 index 0000000..f81e825 Binary files /dev/null and b/flags/ie.png differ diff --git a/flags/il.png b/flags/il.png new file mode 100644 index 0000000..c464bf3 Binary files /dev/null and b/flags/il.png differ diff --git a/flags/im.png b/flags/im.png new file mode 100644 index 0000000..561020d Binary files /dev/null and b/flags/im.png differ diff --git a/flags/in.png b/flags/in.png new file mode 100644 index 0000000..538dac8 Binary files /dev/null and b/flags/in.png differ diff --git a/flags/io.png b/flags/io.png new file mode 100644 index 0000000..47e8810 Binary files /dev/null and b/flags/io.png differ diff --git a/flags/iq.png b/flags/iq.png new file mode 100644 index 0000000..78ba106 Binary files /dev/null and b/flags/iq.png differ diff --git a/flags/ir.png b/flags/ir.png new file mode 100644 index 0000000..df2dea8 Binary files /dev/null and b/flags/ir.png differ diff --git a/flags/is.png b/flags/is.png new file mode 100644 index 0000000..9b8d984 Binary files /dev/null and b/flags/is.png differ diff --git a/flags/it.png b/flags/it.png new file mode 100644 index 0000000..1273c11 Binary files /dev/null and b/flags/it.png differ diff --git a/flags/je.png b/flags/je.png new file mode 100644 index 0000000..ed178b2 Binary files /dev/null and b/flags/je.png differ diff --git a/flags/jm.png b/flags/jm.png new file mode 100644 index 0000000..69fd7f2 Binary files /dev/null and b/flags/jm.png differ diff --git a/flags/jo.png b/flags/jo.png new file mode 100644 index 0000000..c4bbd68 Binary files /dev/null and b/flags/jo.png differ diff --git a/flags/jp.png b/flags/jp.png new file mode 100644 index 0000000..d9cc544 Binary files /dev/null and b/flags/jp.png differ diff --git a/flags/ke.png b/flags/ke.png new file mode 100644 index 0000000..647d14b Binary files /dev/null and b/flags/ke.png differ diff --git a/flags/kg.png b/flags/kg.png new file mode 100644 index 0000000..8664da0 Binary files /dev/null and b/flags/kg.png differ diff --git a/flags/kh.png b/flags/kh.png new file mode 100644 index 0000000..6e921a8 Binary files /dev/null and b/flags/kh.png differ diff --git a/flags/ki.png b/flags/ki.png new file mode 100644 index 0000000..dbf9464 Binary files /dev/null and b/flags/ki.png differ diff --git a/flags/km.png b/flags/km.png new file mode 100644 index 0000000..f90f6aa Binary files /dev/null and b/flags/km.png differ diff --git a/flags/kn.png b/flags/kn.png new file mode 100644 index 0000000..3717b7c Binary files /dev/null and b/flags/kn.png differ diff --git a/flags/kp.png b/flags/kp.png new file mode 100644 index 0000000..f5ff2a8 Binary files /dev/null and b/flags/kp.png differ diff --git a/flags/kr.png b/flags/kr.png new file mode 100644 index 0000000..34f9617 Binary files /dev/null and b/flags/kr.png differ diff --git a/flags/kw.png b/flags/kw.png new file mode 100644 index 0000000..8dec848 Binary files /dev/null and b/flags/kw.png differ diff --git a/flags/ky.png b/flags/ky.png new file mode 100644 index 0000000..386dc7e Binary files /dev/null and b/flags/ky.png differ diff --git a/flags/kz.png b/flags/kz.png new file mode 100644 index 0000000..3c8ab47 Binary files /dev/null and b/flags/kz.png differ diff --git a/flags/la.png b/flags/la.png new file mode 100644 index 0000000..aff4aad Binary files /dev/null and b/flags/la.png differ diff --git a/flags/lb.png b/flags/lb.png new file mode 100644 index 0000000..d3541a1 Binary files /dev/null and b/flags/lb.png differ diff --git a/flags/lc.png b/flags/lc.png new file mode 100644 index 0000000..45e69f8 Binary files /dev/null and b/flags/lc.png differ diff --git a/flags/li.png b/flags/li.png new file mode 100644 index 0000000..c799cf9 Binary files /dev/null and b/flags/li.png differ diff --git a/flags/lk.png b/flags/lk.png new file mode 100644 index 0000000..1742485 Binary files /dev/null and b/flags/lk.png differ diff --git a/flags/lr.png b/flags/lr.png new file mode 100644 index 0000000..750f662 Binary files /dev/null and b/flags/lr.png differ diff --git a/flags/ls.png b/flags/ls.png new file mode 100644 index 0000000..5b68c5a Binary files /dev/null and b/flags/ls.png differ diff --git a/flags/lt.png b/flags/lt.png new file mode 100644 index 0000000..2ac8ea1 Binary files /dev/null and b/flags/lt.png differ diff --git a/flags/lu.png b/flags/lu.png new file mode 100644 index 0000000..997a331 Binary files /dev/null and b/flags/lu.png differ diff --git a/flags/lv.png b/flags/lv.png new file mode 100644 index 0000000..a0fdaf4 Binary files /dev/null and b/flags/lv.png differ diff --git a/flags/ly.png b/flags/ly.png new file mode 100644 index 0000000..a48e7c9 Binary files /dev/null and b/flags/ly.png differ diff --git a/flags/ma.png b/flags/ma.png new file mode 100644 index 0000000..b16ca91 Binary files /dev/null and b/flags/ma.png differ diff --git a/flags/mc.png b/flags/mc.png new file mode 100644 index 0000000..8ec3540 Binary files /dev/null and b/flags/mc.png differ diff --git a/flags/md.png b/flags/md.png new file mode 100644 index 0000000..6a4ff07 Binary files /dev/null and b/flags/md.png differ diff --git a/flags/me.png b/flags/me.png new file mode 100644 index 0000000..30ba766 Binary files /dev/null and b/flags/me.png differ diff --git a/flags/mf.png b/flags/mf.png new file mode 100644 index 0000000..7392755 Binary files /dev/null and b/flags/mf.png differ diff --git a/flags/mg.png b/flags/mg.png new file mode 100644 index 0000000..ba76417 Binary files /dev/null and b/flags/mg.png differ diff --git a/flags/mh.png b/flags/mh.png new file mode 100644 index 0000000..0fc3839 Binary files /dev/null and b/flags/mh.png differ diff --git a/flags/mk.png b/flags/mk.png new file mode 100644 index 0000000..c2c9104 Binary files /dev/null and b/flags/mk.png differ diff --git a/flags/ml.png b/flags/ml.png new file mode 100644 index 0000000..3b9d7a8 Binary files /dev/null and b/flags/ml.png differ diff --git a/flags/mm.png b/flags/mm.png new file mode 100644 index 0000000..638037f Binary files /dev/null and b/flags/mm.png differ diff --git a/flags/mn.png b/flags/mn.png new file mode 100644 index 0000000..4f761bf Binary files /dev/null and b/flags/mn.png differ diff --git a/flags/mo.png b/flags/mo.png new file mode 100644 index 0000000..7a8fca9 Binary files /dev/null and b/flags/mo.png differ diff --git a/flags/mp.png b/flags/mp.png new file mode 100644 index 0000000..77297bc Binary files /dev/null and b/flags/mp.png differ diff --git a/flags/mq.png b/flags/mq.png new file mode 100644 index 0000000..86538f4 Binary files /dev/null and b/flags/mq.png differ diff --git a/flags/mr.png b/flags/mr.png new file mode 100644 index 0000000..52ca86f Binary files /dev/null and b/flags/mr.png differ diff --git a/flags/ms.png b/flags/ms.png new file mode 100644 index 0000000..f5e6af5 Binary files /dev/null and b/flags/ms.png differ diff --git a/flags/mt.png b/flags/mt.png new file mode 100644 index 0000000..7b5a115 Binary files /dev/null and b/flags/mt.png differ diff --git a/flags/mu.png b/flags/mu.png new file mode 100644 index 0000000..301632a Binary files /dev/null and b/flags/mu.png differ diff --git a/flags/mv.png b/flags/mv.png new file mode 100644 index 0000000..e14e14a Binary files /dev/null and b/flags/mv.png differ diff --git a/flags/mw.png b/flags/mw.png new file mode 100644 index 0000000..560b53b Binary files /dev/null and b/flags/mw.png differ diff --git a/flags/mx.png b/flags/mx.png new file mode 100644 index 0000000..c6482bf Binary files /dev/null and b/flags/mx.png differ diff --git a/flags/my.png b/flags/my.png new file mode 100644 index 0000000..1aee5a6 Binary files /dev/null and b/flags/my.png differ diff --git a/flags/mz.png b/flags/mz.png new file mode 100644 index 0000000..d6d4cb7 Binary files /dev/null and b/flags/mz.png differ diff --git a/flags/na.png b/flags/na.png new file mode 100644 index 0000000..3f5fe90 Binary files /dev/null and b/flags/na.png differ diff --git a/flags/nc.png b/flags/nc.png new file mode 100644 index 0000000..9733fff Binary files /dev/null and b/flags/nc.png differ diff --git a/flags/ne.png b/flags/ne.png new file mode 100644 index 0000000..3112920 Binary files /dev/null and b/flags/ne.png differ diff --git a/flags/nf.png b/flags/nf.png new file mode 100644 index 0000000..a2541c3 Binary files /dev/null and b/flags/nf.png differ diff --git a/flags/ng.png b/flags/ng.png new file mode 100644 index 0000000..86996af Binary files /dev/null and b/flags/ng.png differ diff --git a/flags/ni.png b/flags/ni.png new file mode 100644 index 0000000..ae7bf3a Binary files /dev/null and b/flags/ni.png differ diff --git a/flags/nl.png b/flags/nl.png new file mode 100644 index 0000000..c3c61e6 Binary files /dev/null and b/flags/nl.png differ diff --git a/flags/no.png b/flags/no.png new file mode 100644 index 0000000..7c04d86 Binary files /dev/null and b/flags/no.png differ diff --git a/flags/np.png b/flags/np.png new file mode 100644 index 0000000..8ad29a2 Binary files /dev/null and b/flags/np.png differ diff --git a/flags/nr.png b/flags/nr.png new file mode 100644 index 0000000..e5b4bd0 Binary files /dev/null and b/flags/nr.png differ diff --git a/flags/nu.png b/flags/nu.png new file mode 100644 index 0000000..cbf6769 Binary files /dev/null and b/flags/nu.png differ diff --git a/flags/nz.png b/flags/nz.png new file mode 100644 index 0000000..581d604 Binary files /dev/null and b/flags/nz.png differ diff --git a/flags/om.png b/flags/om.png new file mode 100644 index 0000000..5bba219 Binary files /dev/null and b/flags/om.png differ diff --git a/flags/pa.png b/flags/pa.png new file mode 100644 index 0000000..69a651e Binary files /dev/null and b/flags/pa.png differ diff --git a/flags/pe.png b/flags/pe.png new file mode 100644 index 0000000..0b3be8e Binary files /dev/null and b/flags/pe.png differ diff --git a/flags/pf.png b/flags/pf.png new file mode 100644 index 0000000..353da5c Binary files /dev/null and b/flags/pf.png differ diff --git a/flags/pg.png b/flags/pg.png new file mode 100644 index 0000000..1874d59 Binary files /dev/null and b/flags/pg.png differ diff --git a/flags/ph.png b/flags/ph.png new file mode 100644 index 0000000..e5192d0 Binary files /dev/null and b/flags/ph.png differ diff --git a/flags/pk.png b/flags/pk.png new file mode 100644 index 0000000..9b8f95d Binary files /dev/null and b/flags/pk.png differ diff --git a/flags/pl.png b/flags/pl.png new file mode 100644 index 0000000..529aed9 Binary files /dev/null and b/flags/pl.png differ diff --git a/flags/pm.png b/flags/pm.png new file mode 100644 index 0000000..7392755 Binary files /dev/null and b/flags/pm.png differ diff --git a/flags/pn.png b/flags/pn.png new file mode 100644 index 0000000..3542608 Binary files /dev/null and b/flags/pn.png differ diff --git a/flags/pr.png b/flags/pr.png new file mode 100644 index 0000000..a27e4d3 Binary files /dev/null and b/flags/pr.png differ diff --git a/flags/ps.png b/flags/ps.png new file mode 100644 index 0000000..e80e9bd Binary files /dev/null and b/flags/ps.png differ diff --git a/flags/pt.png b/flags/pt.png new file mode 100644 index 0000000..c110ba3 Binary files /dev/null and b/flags/pt.png differ diff --git a/flags/pw.png b/flags/pw.png new file mode 100644 index 0000000..1480a1a Binary files /dev/null and b/flags/pw.png differ diff --git a/flags/py.png b/flags/py.png new file mode 100644 index 0000000..01f59fb Binary files /dev/null and b/flags/py.png differ diff --git a/flags/qa.png b/flags/qa.png new file mode 100644 index 0000000..c603982 Binary files /dev/null and b/flags/qa.png differ diff --git a/flags/re.png b/flags/re.png new file mode 100644 index 0000000..7392755 Binary files /dev/null and b/flags/re.png differ diff --git a/flags/ro.png b/flags/ro.png new file mode 100644 index 0000000..eec1cf3 Binary files /dev/null and b/flags/ro.png differ diff --git a/flags/rs.png b/flags/rs.png new file mode 100644 index 0000000..314120d Binary files /dev/null and b/flags/rs.png differ diff --git a/flags/ru.png b/flags/ru.png new file mode 100644 index 0000000..da792b8 Binary files /dev/null and b/flags/ru.png differ diff --git a/flags/rw.png b/flags/rw.png new file mode 100644 index 0000000..2ae186a Binary files /dev/null and b/flags/rw.png differ diff --git a/flags/sa.png b/flags/sa.png new file mode 100644 index 0000000..c689534 Binary files /dev/null and b/flags/sa.png differ diff --git a/flags/sb.png b/flags/sb.png new file mode 100644 index 0000000..2488f34 Binary files /dev/null and b/flags/sb.png differ diff --git a/flags/sc.png b/flags/sc.png new file mode 100644 index 0000000..b6c4af1 Binary files /dev/null and b/flags/sc.png differ diff --git a/flags/sd.png b/flags/sd.png new file mode 100644 index 0000000..8c8ff1f Binary files /dev/null and b/flags/sd.png differ diff --git a/flags/se.png b/flags/se.png new file mode 100644 index 0000000..297c205 Binary files /dev/null and b/flags/se.png differ diff --git a/flags/sg.png b/flags/sg.png new file mode 100644 index 0000000..0bc0e16 Binary files /dev/null and b/flags/sg.png differ diff --git a/flags/sh.png b/flags/sh.png new file mode 100644 index 0000000..d6eca99 Binary files /dev/null and b/flags/sh.png differ diff --git a/flags/si.png b/flags/si.png new file mode 100644 index 0000000..0e9d074 Binary files /dev/null and b/flags/si.png differ diff --git a/flags/sj.png b/flags/sj.png new file mode 100644 index 0000000..7c04d86 Binary files /dev/null and b/flags/sj.png differ diff --git a/flags/sk.png b/flags/sk.png new file mode 100644 index 0000000..f2a950b Binary files /dev/null and b/flags/sk.png differ diff --git a/flags/sl.png b/flags/sl.png new file mode 100644 index 0000000..f018294 Binary files /dev/null and b/flags/sl.png differ diff --git a/flags/sm.png b/flags/sm.png new file mode 100644 index 0000000..f95fc3b Binary files /dev/null and b/flags/sm.png differ diff --git a/flags/sn.png b/flags/sn.png new file mode 100644 index 0000000..6c99d97 Binary files /dev/null and b/flags/sn.png differ diff --git a/flags/so.png b/flags/so.png new file mode 100644 index 0000000..cd29773 Binary files /dev/null and b/flags/so.png differ diff --git a/flags/sr.png b/flags/sr.png new file mode 100644 index 0000000..d992b66 Binary files /dev/null and b/flags/sr.png differ diff --git a/flags/ss.png b/flags/ss.png new file mode 100644 index 0000000..56099a4 Binary files /dev/null and b/flags/ss.png differ diff --git a/flags/st.png b/flags/st.png new file mode 100644 index 0000000..2d13820 Binary files /dev/null and b/flags/st.png differ diff --git a/flags/sv.png b/flags/sv.png new file mode 100644 index 0000000..863ecfb Binary files /dev/null and b/flags/sv.png differ diff --git a/flags/sx.png b/flags/sx.png new file mode 100644 index 0000000..8ccfb81 Binary files /dev/null and b/flags/sx.png differ diff --git a/flags/sy.png b/flags/sy.png new file mode 100644 index 0000000..1f31d8d Binary files /dev/null and b/flags/sy.png differ diff --git a/flags/sz.png b/flags/sz.png new file mode 100644 index 0000000..79eb87b Binary files /dev/null and b/flags/sz.png differ diff --git a/flags/tc.png b/flags/tc.png new file mode 100644 index 0000000..05666b9 Binary files /dev/null and b/flags/tc.png differ diff --git a/flags/td.png b/flags/td.png new file mode 100644 index 0000000..a43e7d3 Binary files /dev/null and b/flags/td.png differ diff --git a/flags/tf.png b/flags/tf.png new file mode 100644 index 0000000..699935e Binary files /dev/null and b/flags/tf.png differ diff --git a/flags/tg.png b/flags/tg.png new file mode 100644 index 0000000..87cf304 Binary files /dev/null and b/flags/tg.png differ diff --git a/flags/th.png b/flags/th.png new file mode 100644 index 0000000..7631124 Binary files /dev/null and b/flags/th.png differ diff --git a/flags/tj.png b/flags/tj.png new file mode 100644 index 0000000..7caacab Binary files /dev/null and b/flags/tj.png differ diff --git a/flags/tk.png b/flags/tk.png new file mode 100644 index 0000000..65989e4 Binary files /dev/null and b/flags/tk.png differ diff --git a/flags/tl.png b/flags/tl.png new file mode 100644 index 0000000..63490a5 Binary files /dev/null and b/flags/tl.png differ diff --git a/flags/tm.png b/flags/tm.png new file mode 100644 index 0000000..d411d1a Binary files /dev/null and b/flags/tm.png differ diff --git a/flags/tn.png b/flags/tn.png new file mode 100644 index 0000000..f3bd1a3 Binary files /dev/null and b/flags/tn.png differ diff --git a/flags/to.png b/flags/to.png new file mode 100644 index 0000000..59088b9 Binary files /dev/null and b/flags/to.png differ diff --git a/flags/tr.png b/flags/tr.png new file mode 100644 index 0000000..df04e18 Binary files /dev/null and b/flags/tr.png differ diff --git a/flags/tt.png b/flags/tt.png new file mode 100644 index 0000000..93fc559 Binary files /dev/null and b/flags/tt.png differ diff --git a/flags/tv.png b/flags/tv.png new file mode 100644 index 0000000..f5223cb Binary files /dev/null and b/flags/tv.png differ diff --git a/flags/tw.png b/flags/tw.png new file mode 100644 index 0000000..90bd16a Binary files /dev/null and b/flags/tw.png differ diff --git a/flags/tz.png b/flags/tz.png new file mode 100644 index 0000000..5b98ee8 Binary files /dev/null and b/flags/tz.png differ diff --git a/flags/ua.png b/flags/ua.png new file mode 100644 index 0000000..30c0d72 Binary files /dev/null and b/flags/ua.png differ diff --git a/flags/ug.png b/flags/ug.png new file mode 100644 index 0000000..155827b Binary files /dev/null and b/flags/ug.png differ diff --git a/flags/um.png b/flags/um.png new file mode 100644 index 0000000..45a6a7f Binary files /dev/null and b/flags/um.png differ diff --git a/flags/us.png b/flags/us.png new file mode 100644 index 0000000..45a6a7f Binary files /dev/null and b/flags/us.png differ diff --git a/flags/uy.png b/flags/uy.png new file mode 100644 index 0000000..4cf420f Binary files /dev/null and b/flags/uy.png differ diff --git a/flags/uz.png b/flags/uz.png new file mode 100644 index 0000000..c46067a Binary files /dev/null and b/flags/uz.png differ diff --git a/flags/va.png b/flags/va.png new file mode 100644 index 0000000..b44b795 Binary files /dev/null and b/flags/va.png differ diff --git a/flags/vc.png b/flags/vc.png new file mode 100644 index 0000000..e2f704a Binary files /dev/null and b/flags/vc.png differ diff --git a/flags/ve.png b/flags/ve.png new file mode 100644 index 0000000..71c5737 Binary files /dev/null and b/flags/ve.png differ diff --git a/flags/vg.png b/flags/vg.png new file mode 100644 index 0000000..1472efd Binary files /dev/null and b/flags/vg.png differ diff --git a/flags/vi.png b/flags/vi.png new file mode 100644 index 0000000..20a2de8 Binary files /dev/null and b/flags/vi.png differ diff --git a/flags/vn.png b/flags/vn.png new file mode 100644 index 0000000..6352cb5 Binary files /dev/null and b/flags/vn.png differ diff --git a/flags/vu.png b/flags/vu.png new file mode 100644 index 0000000..b78584b Binary files /dev/null and b/flags/vu.png differ diff --git a/flags/wf.png b/flags/wf.png new file mode 100644 index 0000000..d1b149b Binary files /dev/null and b/flags/wf.png differ diff --git a/flags/ws.png b/flags/ws.png new file mode 100644 index 0000000..bab7309 Binary files /dev/null and b/flags/ws.png differ diff --git a/flags/xk.png b/flags/xk.png new file mode 100644 index 0000000..aa25280 Binary files /dev/null and b/flags/xk.png differ diff --git a/flags/ye.png b/flags/ye.png new file mode 100644 index 0000000..49a7ef7 Binary files /dev/null and b/flags/ye.png differ diff --git a/flags/yt.png b/flags/yt.png new file mode 100644 index 0000000..7392755 Binary files /dev/null and b/flags/yt.png differ diff --git a/flags/za.png b/flags/za.png new file mode 100644 index 0000000..0eebdf8 Binary files /dev/null and b/flags/za.png differ diff --git a/flags/zm.png b/flags/zm.png new file mode 100644 index 0000000..85a6250 Binary files /dev/null and b/flags/zm.png differ diff --git a/flags/zw.png b/flags/zw.png new file mode 100644 index 0000000..fb74408 Binary files /dev/null and b/flags/zw.png differ diff --git a/lib/country_code_picker.dart b/lib/country_code_picker.dart index 0b060d7..6a89b81 100644 --- a/lib/country_code_picker.dart +++ b/lib/country_code_picker.dart @@ -25,7 +25,7 @@ class CountryCodePicker extends StatefulWidget { name: s['name'], code: s['code'], dialCode: s['dial_code'], - flagUri: 'icons/flags/${s['code'].toLowerCase()}.png', + flagUri: 'flags/${s['code'].toLowerCase()}.png', )) .toList(); @@ -51,7 +51,7 @@ class _CountryCodePickerState extends State { padding: const EdgeInsets.only(right: 16.0), child: Image.asset( selectedItem.flagUri, - package: 'country_icons', + package: 'country_code_picker', width: 32.0, ), ), diff --git a/lib/selection_dialog.dart b/lib/selection_dialog.dart index 10402bf..494bb9a 100644 --- a/lib/selection_dialog.dart +++ b/lib/selection_dialog.dart @@ -44,7 +44,7 @@ class _SelectionDialogState extends State { padding: const EdgeInsets.only(right: 16.0), child: Image.asset( f.flagUri, - package: 'country_icons', + package: 'country_code_picker', width: 32.0, ), ), @@ -65,6 +65,7 @@ class _SelectionDialogState extends State { ..add(new Divider())), ]..addAll(showedElements .map((e) => new SimpleDialogOption( + key: Key(e.toLongString()), child: Flex( direction: Axis.horizontal, children: [ @@ -73,7 +74,7 @@ class _SelectionDialogState extends State { padding: const EdgeInsets.only(right: 16.0), child: Image.asset( e.flagUri, - package: 'country_icons', + package: 'country_code_picker', width: 32.0, ), ), diff --git a/pubspec.yaml b/pubspec.yaml index f7600b7..0d98328 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: country_code_picker description: A flutter package for showing a country code selector. -version: 0.2.2 +version: 1.0.0 author: Salvatore-Giordano homepage: https://github.com/Salvatore-Giordano/CountryCodePicker @@ -10,4 +10,262 @@ environment: dependencies: flutter: sdk: flutter - country_icons: "^0.0.2" + +flutter: + assets: + - flags/tg.png + - flags/me.png + - flags/la.png + - flags/mr.png + - flags/ni.png + - flags/lv.png + - flags/om.png + - flags/af.png + - flags/cy.png + - flags/bj.png + - flags/aq.png + - flags/cn.png + - flags/gb-sct.png + - flags/co.png + - flags/cx.png + - flags/ag.png + - flags/ms.png + - flags/md.png + - flags/zm.png + - flags/vn.png + - flags/tf.png + - flags/td.png + - flags/yt.png + - flags/lb.png + - flags/mf.png + - flags/lu.png + - flags/mq.png + - flags/cz.png + - flags/ae.png + - flags/cm.png + - flags/bi.png + - flags/ar.png + - flags/as.png + - flags/bh.png + - flags/cl.png + - flags/ad.png + - flags/mp.png + - flags/lt.png + - flags/mg.png + - flags/lc.png + - flags/tr.png + - flags/ua.png + - flags/tv.png + - flags/vi.png + - flags/mt.png + - flags/no.png + - flags/mc.png + - flags/ch.png + - flags/bl.png + - flags/aw.png + - flags/bz.png + - flags/bm.png + - flags/ci.png + - flags/mu.png + - flags/us.png + - flags/tw.png + - flags/ye.png + - flags/mw.png + - flags/nl.png + - flags/ls.png + - flags/bo.png + - flags/at.png + - flags/ck.png + - flags/by.png + - flags/au.png + - flags/bn.png + - flags/ma.png + - flags/nz.png + - flags/lr.png + - flags/mv.png + - flags/tc.png + - flags/ug.png + - flags/tt.png + - flags/pl.png + - flags/rs.png + - flags/in.png + - flags/ge.png + - flags/gr.png + - flags/gs.png + - flags/gd.png + - flags/io.png + - flags/hk.png + - flags/kp.png + - flags/gb-nir.png + - flags/kg.png + - flags/pm.png + - flags/sv.png + - flags/re.png + - flags/sa.png + - flags/sc.png + - flags/st.png + - flags/ke.png + - flags/im.png + - flags/kr.png + - flags/gf.png + - flags/dj.png + - flags/gq.png + - flags/gp.png + - flags/dk.png + - flags/gg.png + - flags/il.png + - flags/pn.png + - flags/sb.png + - flags/py.png + - flags/ru.png + - flags/kw.png + - flags/do.png + - flags/gt.png + - flags/gb.png + - flags/gu.png + - flags/je.png + - flags/hm.png + - flags/sg.png + - flags/pk.png + - flags/sr.png + - flags/se.png + - flags/jp.png + - flags/gw.png + - flags/eh.png + - flags/dz.png + - flags/ga.png + - flags/fr.png + - flags/dm.png + - flags/hn.png + - flags/sd.png + - flags/rw.png + - flags/ph.png + - flags/ss.png + - flags/qa.png + - flags/pe.png + - flags/pr.png + - flags/si.png + - flags/ht.png + - flags/es.png + - flags/gl.png + - flags/gm.png + - flags/er.png + - flags/fi.png + - flags/ee.png + - flags/kn.png + - flags/hu.png + - flags/iq.png + - flags/ky.png + - flags/sh.png + - flags/ps.png + - flags/pf.png + - flags/sj.png + - flags/id.png + - flags/is.png + - flags/eg.png + - flags/fk.png + - flags/fj.png + - flags/gn.png + - flags/gy.png + - flags/ir.png + - flags/km.png + - flags/ie.png + - flags/kz.png + - flags/ro.png + - flags/sk.png + - flags/pg.png + - flags/pt.png + - flags/so.png + - flags/sx.png + - flags/hr.png + - flags/ki.png + - flags/jm.png + - flags/eu.png + - flags/ec.png + - flags/et.png + - flags/fo.png + - flags/kh.png + - flags/sy.png + - flags/sn.png + - flags/pw.png + - flags/sl.png + - flags/gb-eng.png + - flags/fm.png + - flags/gi.png + - flags/de.png + - flags/gh.png + - flags/jo.png + - flags/it.png + - flags/pa.png + - flags/sz.png + - flags/sm.png + - flags/tn.png + - flags/ml.png + - flags/cg.png + - flags/ax.png + - flags/ao.png + - flags/bt.png + - flags/bb.png + - flags/cf.png + - flags/mm.png + - flags/li.png + - flags/na.png + - flags/mz.png + - flags/to.png + - flags/vg.png + - flags/ve.png + - flags/tz.png + - flags/tm.png + - flags/mx.png + - flags/nc.png + - flags/mo.png + - flags/lk.png + - flags/cd.png + - flags/al.png + - flags/bw.png + - flags/cr.png + - flags/bv.png + - flags/am.png + - flags/az.png + - flags/ba.png + - flags/mn.png + - flags/nu.png + - flags/my.png + - flags/tl.png + - flags/ws.png + - flags/th.png + - flags/xk.png + - flags/nf.png + - flags/ly.png + - flags/ai.png + - flags/br.png + - flags/cv.png + - flags/be.png + - flags/ca.png + - flags/bd.png + - flags/cw.png + - flags/bs.png + - flags/ng.png + - flags/mk.png + - flags/np.png + - flags/va.png + - flags/uz.png + - flags/um.png + - flags/tk.png + - flags/vc.png + - flags/zw.png + - flags/nr.png + - flags/ne.png + - flags/cu.png + - flags/bq.png + - flags/bf.png + - flags/bg.png + - flags/cc.png + - flags/gb-wls.png + - flags/mh.png + - flags/za.png + - flags/uy.png + - flags/wf.png + - flags/vu.png + - flags/tj.png + - flags/an.png \ No newline at end of file