Html youtube rebuild issue #1013
-
Hello, When I use Html() to make youtube, in every setState() the youtube video gets rebuild and flashes. Is there a fix for that? Below is a sample code: (pressing the floating action button adds a message to the screen and the youtube widget flashes)
This sample code is without the Html() and direct youtube widget:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Apologies my bad. Please scratch this question. (a simple key solves the rebuilding issue, my original code was based on stateless widgets and keys weren't working) |
Beta Was this translation helpful? Give feedback.
Apologies my bad. Please scratch this question. (a simple key solves the rebuilding issue, my original code was based on stateless widgets and keys weren't working)