EmbeddedTweetView.fromTweetV1 constructor
EmbeddedTweetView.fromTweetV1(
- TweetV1Response 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.fromTweetV1(
TweetV1Response 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.fromApiModel(tweet, createdDateDisplayFormat);