An Automatic Carbon Footprint Calculator
The organisation structure of this application is according to Connor Aldrich's Flutter: Code Organization (Revised)
The brief can be seen here:
The foundation of this Flutter app, aimed to be kept as lightweight as possible
Extracted from main.dart
are the routes for this application, equivalent to routing controller in
react. Contains routes to publicly accessible node pages, any pages accessible exclusively to a
node page will not feature here
For example, see image_taker_page/
Contains a singular style.dart
with the app's theme, to be accessed by main.dart
Holds web APIs and native interaction code
Custom widgets which are used by multiple different screens
Holds a folder for each screen subtree, pages accessible from the main routes are built here. Each directory holds the pages relevant to a specific group.
run 'npm install' in functions directory to install node dependencies on local machine
run 'npm run start' in terminal to test api
run 'flutter test' locally to run all tests OR
run 'flutter test' test/<file_name_to_test> to test specifc file
write all tests under test folder with test files named as <file_being_tested>_test
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.