How amand4ngol/chemsphere works
ChemSphere is a Flutter chemistry-learning and exploration app. Users enter through the home dashboard and branch into reference, search, calculation, visualization, and air-quality experiences; the README explicitly describes formula search leading to compound details and location-based AQI exploration. The graph preserves these distinct product capabilities and the shared PubChem integration layer. The sampled source excerpts cover native launchers rather than Dart runtime wiring, so feature-to-provider and provider-to-service links are limited to documented integrations; uncertain call relationships are omitted.
Main entry points: main_screen.dart Feature navigation · aqi_provider.dart AQI state · compound_searhc_screen.dart Compound search · base_pubchem_provider.dart PubChem access
Components 24
App navigation
- App entry
lib/main.dart - Home dashboard
lib/features/home/home_screen.dart - Feature navigation
lib/features/main_screen.dart
Chemistry exploration
- Periodic tables
lib/features/elements/screens/periodic_tablescreen/periodic_table_screen.dart - Element details
lib/features/elements/screens/element_detailscreen/element_detail_screen.dart - Compound search
lib/features/compounds/compound_searhc_screen.dart - Compound details
lib/features/compounds/compound_details_screen.dart - Formula search
lib/features/formula/screen/formula_search_screen.dart - Drug explorer
lib/features/drugs/drug_search_screen.dart - Molecule viewer
lib/features/molecules_viewer/screen/molecule_viewer_screen.dart - PubChem access
lib/providers/base_pubchem_provider.dart - Weight calculator
lib/features/molecular_weight/screens/molecular_weight_screen.dart
Learning tools
- Reaction learning
lib/features/reactions/screen/reaction_screen.dart - Chemistry guide
lib/features/chemistryguide/chemistry_guide_screen.dart - Element flashcards
lib/features/elements/screens/flashcard_screen/element_flashcard_screen.dart - Bookmarks
lib/features/bookmarks/bookmark_screen.dart
Air quality
- Air quality monitor
lib/features/aqi/screen/aqi_info_screen.dart - AQI state
lib/features/aqi/provider/aqi_provider.dart - City search
lib/features/aqi/screen/city_search_screen.dart
Other components
- Learner
- PubChem API
- Wikipedia
- Device location
- Air quality data
Connections 25
- Learner → App entry: opens
- App entry → Home dashboard: starts
- Home dashboard → Feature navigation: offers features
- Feature navigation → Periodic tables: opens
- Feature navigation → Compound search: opens
- Feature navigation → Formula search: opens
- Feature navigation → Drug explorer: opens
- Feature navigation → Molecule viewer: opens
- Feature navigation → Weight calculator: opens
- Feature navigation → Reaction learning: opens
- Feature navigation → Chemistry guide: opens
- Feature navigation → Element flashcards: opens
- Feature navigation → Bookmarks: opens
- Feature navigation → Air quality monitor: opens
- Periodic tables → Element details: selects element
- Formula search → Compound details: finds compound
- Compound search → Compound details: opens result
- Compound search → PubChem access: requests data
- Drug explorer → PubChem access: requests data
- PubChem access → PubChem API: queries
- Chemistry guide → Wikipedia: fetches content
- Air quality monitor → AQI state: reads air data
- City search → AQI state: requests city data
- AQI state → Device location: gets location
- AQI state → Air quality data: requests AQI