Giter VIP home page Giter VIP logo

flutter-news-app's Introduction

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.

flutter-news-app's People

Contributors

coderjava avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter-news-app's Issues

CAN'T RUN THE APP DUE TO ENVIRONMENT & FLUTTER VERSION MISMATCH

I'm trying to run this app by following the instructions in the Readme. Both in production and development environment. Since I didn't know the flutter version for the project, I failed miserably running it on Flutter version 2.10.5. So I tried multiple options, going 2 years back since that's when the project was shared. So I tried Flutter version 1.17.0, and all went well except I run into this error No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi. I checked online for solutions and got this possible solution, which resulted into several other errors! This led me into believing that maybe I don't know the precise environment in which this project was successfully deployed on. Can you share the environment specifications including the flutter version for this project please?

How do I test run this app?

I am really new to flutter and trying to figure things out. How do I test run this app? Normally I do it using the main.dart, but I can't find it. I'm also really interested to contribute to this project. Please guide me

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.