tweet_ui library

Package to show Tweets from a Twitter API JSON

Support for Tweets with 1-4 photos, Video, GIFs, hashtags, mentions, symbols, urls, quoted Tweets and retweets.

Classes

CompactTweetView
EmbeddedTweetView
ReferencedTweet
TweetV1Response
docs are from https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/tweet-object Tweets are the basic atomic building block of all things Twitter. Tweets are also known as “status updates.” The Tweet object has a long list of ‘root-level’ attributes, including fundamental attributes such as id, created_at, and text. Tweet objects are also the ‘parent’ object to several child objects. Tweet child objects include user, entities, and extended_entities. Tweets that are geo-tagged will have a place child object.
TweetV2
TweetV2Attachment
TweetV2Includes
TweetV2PublicMetrics
TweetV2Response
Comparing this model to Twitter API V1, it is important to notice that in V2 most of the fields are optional. The only required fields are id and text. But this package might require some more fields to properly display tweets. Those need to be included in expansion parameters.
TweetView

Typedefs

OnTapImage = void Function(List<String> allPhotos, int photoIndex, String hashcode)
Function used when you want a custom image tapped callback