freeze property Null safety

bool freeze
final

When true the texture will not be updated with new frames.

This is used for resizing embedded Android views: when resizing there is a short period during which the framework cannot tell if the newest texture frame has the previous or new size, to workaround this the framework "freezes" the texture just before resizing the Android view and un-freezes it when it is certain that a frame with the new size is ready.

Implementation

final bool freeze;