Compare commits

..

10 Commits

2 changed files with 9 additions and 9 deletions
File diff suppressed because one or more lines are too long
+7 -7
View File
@@ -22,6 +22,13 @@
<option name="translationDialogLocationY" value="567" />
<option name="translationDialogWidth" value="1381" />
<histories>
<item value="The current playback position." />
<item value="The total duration of the video. The value is only meaningful when [isInitialized] is true." />
<item value="Attempts to open the given [dataSource] and load metadata about the video." />
<item value="Starts playing the video. If the video is at the end, this method starts playing from the beginning. This method returns a future that completes as soon as the &quot;play&quot; command has been sent to the platform, not when playback itself is totally finished." />
<item value="unawaited" />
<item value="True if video has finished playing to end. Reverts to false if video position changes, or video begins playing. Does not update if video is looping." />
<item value="Emotion" />
<item value="mask" />
<item value="musk" />
<item value="on configed" />
@@ -65,13 +72,6 @@
<item value="In this class, both `name` and `age` may change, but a widget may need only `age`." />
<item value="For example, consider the following `ChangeNotifier`:" />
<item value="The [select] function allows filtering unwanted rebuilds of a Widget by reading only the properties that we care about." />
<item value="Partially listen to a provider." />
<item value="put if absent" />
<item value="This is why the default value is false. Most of the time, when you change the image provider you're not just changing the image, you're removing the old widget and adding a new one and not expecting them to have any relationship. With [gaplessPlayback] on you might accidentally break this expectation and re-use the old widget." />
<item value="Option B ([gaplessPlayback] = true): The widget displays the avatar of the previous person and the name of the newly loaded person." />
<item value="Option A ([gaplessPlayback] = false): The new person's name is coupled with a blank image." />
<item value="We have constructed a 'Person' widget that displays an avatar [Image] of the currently loaded person along with their name. We could request for a new person to be loaded into the widget at any time. Suppose we have a person currently loaded and the widget loads a new person. What happens if the [Image] fails to load?" />
<item value="Having the default value of [gaplessPlayback] be false helps prevent situations where stale or misleading information might be presented. Consider the following case:" />
</histories>
<option name="languageScores">
<map>