You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to implement a didUpdateWidget method similar to
voiddidUpdateWidget(FlickVideoPlayer oldWidget) {
super.didUpdateWidget(oldWidget);
// react to a changed wakelock enablementif (_isFullscreen) {
if (oldWidget.wakelockEnabledFullscreen != widget.wakelockEnabledFullscreen) {
WakelockPlus.toggle(enable: widget.wakelockEnabledFullscreen);
}
} else {
if (oldWidget.wakelockEnabled != widget.wakelockEnabled) {
WakelockPlus.toggle(enable: widget.wakelockEnabled);
}
}
// also check for a changed manager here and then call// _initializeFlickManager()
}
The text was updated successfully, but these errors were encountered:
You need to implement a
didUpdateWidget
method similar toThe text was updated successfully, but these errors were encountered: