Package – tweet_ui

We might not want to make a Twitter clone, but we may want to show our users a fancy tweet or let them share all the tweets they want. And since it can be hard to create a layout that can adapt to all types of tweets: text, text and one image and text and multiple images, the OmniNext team created a flutter package that let us easily show a tweet’s content:

TweetView.fromTweet(
    Tweet.fromRawJson(
        jsonFromTwitterAPI
        // {"created_at": "Mon Nov 12 13:00:38 +0000 2018", "id": 1061967001177018368, ...
    )
);

tweet_ui | Flutter Package

Leave a Comment