LiFit class
How a video should be inscribed into LiView.
See also BoxFit
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Constants
-
ar4_3
→ const LiFit
-
As large as possible while still containing the video entirely within the
target LiView box. But change video's aspect ratio to 4:3.
-
ar16_9
→ const LiFit
-
As large as possible while still containing the video entirely within the
target LiView box. But change video's aspect ratio to 16:9.
-
contain
→ const LiFit
-
As large as possible while still containing the video entirely within the
target LiView box.
-
cover
→ const LiFit
-
As small as possible while still covering the entire target LiView box.
-
fill
→ const LiFit
-
Fill the target LiView box by distorting the video's aspect ratio.
-
fitHeight
→ const LiFit
-
Make sure the full height of the source is shown, regardless of
whether this means the source overflows the target box horizontally.
-
fitWidth
→ const LiFit
-
Make sure the full width of the source is shown, regardless of
whether this means the source overflows the target box vertically.