﻿Freedom Fi Readme.txt 


Freedom Fi is a web and mobile application whose main goal is to provide information to users regarding any internet censorship going on in any country of their choice around the world. All of the information from the app being displayed to the user is from Netblocks.org, which is a website that creates reports about how and why a country's internet is being restricted to its citizens.


Important note: Before running the code, you must apply this fix so that everything runs smoothly: https://stackoverflow.com/questions/65630743/how-to-solve-flutter-web-api-cors-error-only-with-dart-code/66879350#66879350


Structure: 
All of the files except lib are standard dart/flutter created files


lib/res folder:
        contains all txt files for the data used in determining countries and regions. 
lib/countryPage.dart: 
        contains the code to display the country page to the user
lib/home.dart:
        contains the code for the home page of Freedom Fi
lib/main.dart: 
        page that controls the color scheme of the application
lib/myUser.dart: 
        where all of the logic for country information and selection is stored
lib/netblocksPage.dart: 
        contains code that organizes all data received from the netblocks tweets
lib/news.dart: 
        page that displays the netblocks tweets to the user
lib/status.dart: 
        contains all reports from online press reporters based on selected country and displays results to the user
lib/twitter_handler.dart: 
        where the netblocks tweets are converted to json data for easier manipulation and displaying
twitterkeys.txt: 
        contains the twitter API authentication keys necessary to access the twitter API