Informatics Project: News app for politics
PoliNEWS
A news app specifically for politics.
Feature | Technology |
---|---|
App & UI | Flutter |
Get the news (preview w/ title) | RSS |
View the articles | WebView |
Why RSS
RSS is a simple way of accessing information published by news outlets like the New Yorkt Times, NZZ and many other. Accessing an RSS feed is simple and not overly complicated. It is easy to store the news in a data structure and therefor parsing the information to a ListView.builder
in Flutter.
Why WebView
Since the news outlets only provide titles and quick teasers in the RSS feeds, accessing the article is done through a web browser. To provide a more seamless expierence, we use a WebView to present the article in-app.
Getting Started
What software you need
- Git or GitHub Desktop for sharing code and keeping track of features
- GitKraken for a visual representation of commits
- Code Editor (IDE)
- Visual Studio Code
- Android Studio or JetBrains IntelliJ (Community Edition – free)
- Flutter by Google
- Cookbook by Google for Flutter tutorials
Widgets and Features
- FutureBuilder
- The FutureBuilder shows content as soon as a function returns it (simplified)
- Tutorial by the Google Developer youtube channel
- Tutorial for ListViews by the Flutter youtube channel
- CustomScrollView
- The CustomScrollView provides more options to customize the UI
- Tutorial for SliverAppBars by the Google Developer youtube channel
- ListTile
Plugins
- WebFeed
- The WebFeed plugin allows Flutter to parse (to process) information from a RSS feed
- WebView