Giter VIP home page Giter VIP logo

news_dicoding's Introduction

news_dicoding

A project created by flutter using the API https://newsapi.org/ and using a state management provider to view news.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

How to Use

Step 1:

Download or clone this repo by using the link below:

https://github.com/ahfasxp/news_dicoding.git

Step 2:

Go to project root and execute the following command in console to get the required dependencies:

flutter pub get 

Features

  • Splash Screen
  • Headline News
  • Detail News
  • Webview News

Libraries & Tools Used

Folder Structure

Here is the core folder structure which flutter provides.

flutter-app/
|- android
|- build
|- ios
|- lib
|- test

Here is the folder structure we have been using in this project

lib/
|- data/
|- provider/
|- ui/
|- widgets/
|- main.dart

Running Tests

To run tests, run the following command

Unit Test News Provider

  flutter test test/provider/news_provider_test.dart

Conclusion

I'll be happy to answer any questions you have about this project, and if you'd like to help with this project, please raise an issue and/or withdraw a request. Thank you very much ๐Ÿ™‚

news_dicoding's People

Contributors

ahfasxp avatar

Watchers

James Cloos avatar  avatar

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.