GithubHelp home page GithubHelp logo

soumyasethy / flutter-inshorts-clone-newsly Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 5.0 41.41 MB

Newly is the UI clone of Inshorts news app built with Flutter which supports swipe up/down gestures, share option and has custom chrome tab in android and Safari View Controller in iOS to open web url.

Kotlin 0.18% Swift 0.57% Objective-C 0.05% Dart 94.64% Ruby 4.57%
flutter mobile-app android ios product ui-design newsapp inshorts clone

flutter-inshorts-clone-newsly's Introduction

alt text alt text

Built with Flutter

Newly is clone mobile app of Inshorts news App UI.

Features

  • Swip up for next news story
  • Swipe down for previous news story.
  • Tap on bottom action button to read full story on published website.
  • Tap on share icon to share the news in WhatsApp, Facebook or anywhere.
Gesture Swipe Up and Down handle by Dismissible widget
Dismissible(
          background: newsCard(prevIndex),
          child: newsCard(index),
          secondaryBackground: newsCard(nextIndex),
          resizeDuration: Duration(milliseconds: 10),
          key: Key(index.toString()),
          direction: DismissDirection.vertical,
          onDismissed: (direction) {
            updateContent(direction);
          },
        )
Opening any URL in custom chrome tab(Android) or Safari View modal(iOS)
Utils.launchURL(urlString);  //website url
Convertig date to time ago

1 month ago

Utils.timeAgoSinceDate(publishedAt)  //2020-05-16T00:25:25Z
Sharing string
Share.share(getShareText());

Use Case

This can be replaced with the real news api call.

Looking for news api?

send email at [email protected]

flutter-inshorts-clone-newsly's People

Contributors

soumyasethy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

flutter-inshorts-clone-newsly's Issues

calling news api

Hi Soumya, good work I must say. Can you pls point me to the line where you are calling news api.

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.