THE GLOBE
I first saw this idea in a post by Samuel Abada on Twitter, and it immediately made me want to build my own version in Flutter. cobe_flutter is my recreation of that experience, and the name “Cobe”...

Source: DEV Community
I first saw this idea in a post by Samuel Abada on Twitter, and it immediately made me want to build my own version in Flutter. cobe_flutter is my recreation of that experience, and the name “Cobe” is kept as a credit to the original creator. This article is going to touch on how I was able to recreate the “Globe”. I also made it into a reuseable Flutter package. Think of it like an actual globe, built from Math, painted in Flutter and exposed as a package that people can use. This article is about how I approached it: how the globe is modeled mathematically how land dots are sampled how markers and arcs are projected how the widget stays interactive how I debugged a fun little bug What I Was Actually Building The package API is intentionally small: CobeGlobe is the widget CobeController owns mutable globe state CobeOptions stores render configuration CobeMarker and CobeArc describe things living on the globe. The internal structure is simple too: Generate a bunch of points on a sphere