Skip to content

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.

Notifications You must be signed in to change notification settings

soumyasethy/flutter-inshorts-clone-newsly

Repository files navigation

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]

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages