• Stars
    star
    438
  • Rank 99,453 (Top 2 %)
  • Language
    Dart
  • License
    MIT License
  • Created about 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Flutter News App with newsapi.org. Developed using the Test Driven Development.

Codemagic build status codecov style: effective dart License: MIT

Flutter News App

Flutter News App

News App developed with Flutter and API from News API

Versions

Usage

  1. Please open file constant_config.dart and change YOUR API KEY in the variable keyNewsApi with your own.
  2. In development mode, I'm used fake json server. So, the data is not realtime.
  3. Build flavor only work for Android. So, if you want to run as development mode you can use this command.
flutter run -t lib/main_development.dart --flavor development -d <device_id>

or in production mode.

flutter run --release -t lib/main_production.dart --flavor production -d <device_id>

Note: If you want to build and release this app to Play Store. Please use this command.

flutter build appbundle --release --flavor production -t lib/main_production.dart
  1. For iOS, you can use this command as development mode.
flutter run -t lib/main_development.dart -d <device_id>

or in production mode.

flutter run --release -t lib/main_production.dart -d <device_id>

For iOS, to build and release there is no configuration. Just follow the instructions from the documentation.

Feature

  • List daily news.
  • Filter daily news by category.
  • Refresh list daily news with pull to refresh style.
  • Go to detail news website.
  • Search news.
  • Dark mode support.

Technology

  1. Dio
    A powerful Http client for Dart, which supports interceptors, FormData, Request Cancellation, File Downloading, Timeout, etc.
  2. Flutter BLoC
    Flutter widgets that make it easy to implement the BLoC design pattern.
  3. Intl
    Package providers internationalization and localization facilities, including message translation, plurals and genders, date/number formatting and parsing, and bidirectional text.
  4. Url Launcher
    Flutter plugin for launching a URL in the mobile platform. Supports iOS and Android.
  5. Cached Network Image
    Flutter library to load and cache network images. Can also be used with placeholder and error widgets.
  6. Get It
    Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App.
  7. Dartz
    Functional Programming in Dart. Purify your Dart code using efficient immutable data structures, monads, lenses and other FP tools.
  8. Equatable
    An abstract class that helps to implement equality without needing to explicitly override == and hashCode.
  9. Data Connection Checker
    A pure Dart library that checks for internet by opening a socket to a list of specified addresses, each with individual port and timeout.
  10. Flutter ScreenUtil
    A Flutter plugin for adapting screen and font size.
  11. Pedantic
    How to get the most value from Dart static analysis.
  12. Device Info
    Flutter plugin providing detailed information about the device (make, model, etc).
  13. Flutter SVG
    An SVG rendering and widget library for Flutter, which allows painting and displaying Scalable Vector Graphics 1.1 files.
  14. Build Runner
    Tools to write binaries that run builders.
  15. Mockito
    A mock framework inspired by Mockito.
  16. Bloc Test
    A testing library which makes it easy to test blocs.
  17. JSON Serializable
    Automatically generate code for converting to and from JSON by annotating Dart classes.
  18. Hive
    Lightweight and blazing fast key-value database written in pure Dart.

More Repositories

1

Flutter-CRUD-API-Sample

Dart
94
star
2

Flutter-UI-Challenge-Music-Player

Flutter UI Challenge: Music Player
Dart
41
star
3

Flutter-UI-Challenge-Cinema-Ticket-App

Flutter UI Challenge: Cinema Ticket App
Dart
31
star
4

Food-Recipe

Food Recipe - dicoding challenge (Create Beautiful Apps Using Flutter)
Dart
29
star
5

Flutter-UI-Challenge-Fashion-App

Flutter UI Challenge: Fashion App
Dart
24
star
6

Flutter-OAuth

How to implement OAuth with Flutter
Dart
22
star
7

Chat-Bot-Sederhana-di-Android

Java
11
star
8

Flutter-Multiple-BLoC

Example multiple bloc with Flutter
Dart
8
star
9

Jadwal-Kereta-Api

Aplikasi Jadwal Kereta Api Berbasis Android
Java
8
star
10

flutter-instagram-desktop

Flutter UI Instagram Desktop
Dart
8
star
11

Flutter-UI-Concept-Music-Player

Flutter UI Concept Music Player
Dart
8
star
12

Flutter-FCM

How to use Firebase Cloud Messaging in Flutter
Dart
7
star
13

SholatYuk

Example how to use Kotlin Coroutines in Android
Kotlin
7
star
14

flutter-timezone

How to implement time zone in Flutter
Dart
5
star
15

flutter-masker-detection-app

Flutter masker detection app with Tensorflow Lite
Dart
5
star
16

Multiple-View-Type-RecyclerView-Kotlin-Android

Kotlin
5
star
17

flutter-native-screenshot

A Flutter plugin to take screenshot on Android & iOS
Java
4
star
18

Flutter-Firestore-Todo

Flutter CRUD with Firestore
Dart
4
star
19

flutter-crud-cubit

How to create CRUD API with Flutter Cubit.
C++
4
star
20

Octocat

Step by step to understand Dagger2 in Android
Kotlin
4
star
21

flutter-fcm-login

An example of showing a notification in background mode if the user is logged in
Dart
4
star
22

Flutter-Localization

How to create Localization with Flutter
Dart
4
star
23

OTP-Android

Example how to read SMS automatically when received in Android
Kotlin
4
star
24

flutter-profile-backend-driven-ui

Demonstrate backend driven UI with Flutter
Dart
4
star
25

flutter-custom-clipper

How to implement custom clipper in Flutter
Dart
4
star
26

flutter-jsonloader

Flutter library to open JSON from assets.
Dart
4
star
27

Flutter-Backend-Driven-UI

Demonstrate backend driven UI with Flutter
Dart
4
star
28

Flutter-RxDart

How to use RxDart in Flutter
Dart
3
star
29

Codepolitan-Movie

Example how to make pagination
Kotlin
3
star
30

flutter-graphql-sample

How to use GraphQL in Flutter
Dart
3
star
31

QR-Code-Scanner-Flutter

QR Code Scanner with Flutter
Dart
3
star
32

Flutter-Login-Fingerprint

Flutter login with fingerprint authentication
Dart
3
star
33

Chat-Layout

Example how to make chat layout in Kotlin Android
Kotlin
2
star
34

FCM-Analysis

How to fix FCM in Xiaomi (China devices)
Kotlin
2
star
35

Flutter-Firebase-Storage

Flutter app with implement Firebase Storage
Dart
2
star
36

chrome_extension_flutter

How to create chrome extension using Flutter
Dart
2
star
37

Example-Firebase-Login

Example how to use authentication firebase in android
Java
2
star
38

flutter-json-serializable-sample

How to use json serializable generator with Flutter
Dart
2
star
39

Calculator-Dynamic-Features

Example how to use Dynamic Features on-demand with Dynamic Module Android App Bundle
Kotlin
2
star
40

flutter-firexcode

new Flutter package you can develop attractive and/or create UI are you interested to learn documentation.
Dart
2
star
41

training-flutter-flow

Bahan untuk training mengenai FlutterFlow
2
star
42

demo-flutter-event-channel

Demonstrate how to use event channel in Flutter
Kotlin
1
star
43

Flutter-RecyclerView

Example how to create RecyclerView in Flutter
Dart
1
star
44

flutter-swapi-infinite-list

How to create infinite ListView in Flutter
C++
1
star
45

Flutter-Google-Maps

How to integrate Google Maps in Flutter
Dart
1
star
46

CoffeeShop

Implement how to use a ViewModel Android in Coffee Shop
Kotlin
1
star
47

Biodata-App-with-Flutter

Biodata App with Flutter
Dart
1
star
48

Relative-Layout-Flutter

How to create RelativeLayout in Flutter
Dart
1
star
49

Flutter-Provider-Sample

How to use provider state management in Flutter
Dart
1
star
50

Server-OTP

Create Server One Time Password
Kotlin
1
star
51

flutter-muzik-app-tutorial

Dart
1
star
52

Bottom-Sheet-Flutter

How to show bottom sheet in Flutter
Dart
1
star
53

Flutter-Weather-BLoC

Sample Flutter Weather BLoC with library flutter_bloc
Dart
1
star
54

Quiz-IAK

Final Projek IAK Beginner
Java
1
star
55

Scannerku

Example how to make Scanner Barcode use ZXing in Android
Kotlin
1
star
56

Flutter-Mapbox

Flutter Mapbox sample app
Ruby
1
star
57

qr_code_chrome_extension

QR code tools for chrome extension using Flutter
Dart
1
star
58

MVVM-Posts

Belajar Architecture Component MVVM
Kotlin
1
star
59

Flutter-UI-Challenge

Replicate from design to prototype with Flutter
1
star
60

Example-Stepper-Layout-in-Android

Example Stepper Layout in Android
Java
1
star
61

Spinner-Flutter-App

Example how to create Spinner or DropdownButton in Flutter app
Dart
1
star
62

Service-Locator-Flutter

Simple example how to create dependency injection with Flutter
Dart
1
star
63

Identifier-IDs-Device

Simple app for research get data MAC Address WiFi Device, IMEI, and Simcard
Kotlin
1
star
64

Nemes

Example Nearby Connections API
Kotlin
1
star
65

CCTV-Exo

How to view live CCTV in Android
Kotlin
1
star
66

Millenial-Soccer

Millenial Soccer - App for soccer lover
Dart
1
star
67

SnackBar-Flutter

Example how to show Snackbar in Flutter app
Dart
1
star
68

flutter-ui-softkeyboard-solutions

Solutions for UI not consistent when softkeyboard show
Dart
1
star
69

CoderJava

1
star
70

flutter-bloc-cubit

How to use flutter bloc with cubit
Dart
1
star
71

Flutter-Web-Landing-Page

How to create Web Landing Page with Flutter
Dart
1
star
72

Flutter-Infinite-ListView

How to implement Infinite ListView in Flutter
Dart
1
star
73

Flutter-Landing-Page-Walking-Holidays

Sample Flutter Web with theme Walking Holidays
Dart
1
star
74

Flutter-Provider

Simple example how to use Provider design pattern in Flutter
Dart
1
star
75

flutter-pull-to-refresh

Demonstrate pull to refresh with Flutter
Dart
1
star
76

Flutter-Stopwatch

Example how to create Stopwatch in Flutter
Dart
1
star
77

flutter-json-parsing-manual

Sample Flutter JSON Parsing Manual
Dart
1
star
78

MVVM-Sample

Sample how to use MVVM from https://proandroiddev.com/mvvm-architecture-viewmodel-and-livedata-part-1-604f50cda1
Kotlin
1
star
79

Simple-Temperature-Converter-With-Android-Kotlin-Extensions

Example Simple Temperature Converter use Android Kotlin Extensions
Kotlin
1
star
80

Codepolitan-Pagination-RecyclerView

Example Pagination or Load More use RecyclerView in Android
Kotlin
1
star
81

TemanBioskop

Aplikasi Jadwal Bioskop berbasis Android.
Java
1
star
82

Control-Slide-Presentation

Application for control slide presentation in Android and Java Dekstop.
Java
1
star
83

GridView-Flutter

Example how to use GridView in Flutter
Dart
1
star