VideoBlock class
Constructors
-
VideoBlock.new({required String altText, String? authorName, Map<String, dynamic>? description, String? providerIconUrl, String? providerName, required Map<String, dynamic> title, String? titleUrl, required String thumbnailUrl, required String videoUrl})
-
Properties
-
altText
→ String
-
A tooltip for the video. Required for accessibility
final
-
authorName
→ String?
-
Author name to be displayed. Must be less than 50 characters.
final
-
description
→ Map<String, dynamic>?
-
Description for video in plain text format.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
providerIconUrl
→ String?
-
Icon for the video provider - ex. Youtube icon
final
-
providerName
→ String?
-
The originating application or domain of the video ex. Youtube
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
thumbnailUrl
→ String
-
The thumbnail image URL
final
-
title
→ Map<String, dynamic>
-
Video title in plain text format. Must be less than 200 characters.
final
-
titleUrl
→ String?
-
Hyperlink for the title text. Must correspond to the non-embeddable URL for the video. Must go to an HTTPS URL.
final
-
videoUrl
→ String
-
The URL to be embedded. Must match any existing unfurl domains within the app and point to a HTTPS URL.
final