Skip to content

Latest commit

 

History

History

mobile

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Mobile - blocs, widgets and pages for the Quake Monitor app

The project contains Flutter specific BLoCs (state management), widgets, pages and UI related utilities for the Quake Monitor app monitoring earthquakes.

This is a Flutter code project named mobile under the quake_monitor repository. The repository contains also other Dart and Flutter projects.

Dependencies

Other projects on this repository:

  • ../api for gRPC stub and API client helpers to access gRPC service for earthquakes
  • ../core for domain models, data providers, repositories, i18 and other shared utilities

External Dart or Flutter packages:

Please see pubscec.yaml for more details and versions used.

Code

Flutter specific Dart code locates in mobile/lib with sub folders:

  • blocs - state management as BLoC pattern both for earthquakes and settings
  • pages - page widgets used on the app
  • utils - some utility functions
  • widgets - widgets for UI components like earthquake information card or a simple world map

Also following code files directly under mobile/lib are important:

  • main.dart - normal main() function that launches this Flutter app
  • conf.dart - in order to data providers for external data source to function correctly URL addresses or credentials must be filled here

Important : as noted above please check conf.dart and fill empty configurations on your clone.

Authors

This project is authored by Navibyte.

License

This project is licensed under the MIT License - see the LICENSE.

The project contains also code snippets or adapted code originating from the flutter_weather sample app by Felix Angelov. See LICENSE