EmbeddedTweetView.fromTweetV2 constructor
EmbeddedTweetView.fromTweetV2(
- TweetV2Response tweet, {
- Color? backgroundColor = Colors.white,
- bool darkMode = false,
- double? videoPlayerInitialVolume = 0.0,
- OnTapImage? onTapImage,
- DateFormat? createdDateDisplayFormat,
- bool videoHighQuality = true,
- bool showRepliesCount = false,
- bool? autoPlayVideo,
- bool? enableVideoFullscreen,
- Color? videoControlBarBgColor,
- Widget? videoPlaceholder,
Implementation
EmbeddedTweetView.fromTweetV2(
TweetV2Response tweet, {
this.backgroundColor = Colors.white,
this.darkMode = false,
this.videoPlayerInitialVolume = 0.0,
this.onTapImage,
this.createdDateDisplayFormat,
this.videoHighQuality = true,
this.showRepliesCount = false,
this.autoPlayVideo,
this.enableVideoFullscreen,
this.videoControlBarBgColor,
this.videoPlaceholder,
}) : _tweetVM = TweetVM.fromApiV2Model(tweet, createdDateDisplayFormat);