Upgrading to Flutter 2.10 fixes this issue.
This commit is contained in:
tommyxchow 2022-02-04 17:15:36 -05:00
parent 6e15e5df15
commit b34cc2bee6

View file

@ -228,12 +228,9 @@ class _VideoChatState extends State<VideoChat> {
void dispose() {
_chatStore.dispose();
Future.delayed(
const Duration(milliseconds: 500),
() => SystemChrome.setEnabledSystemUIMode(
SystemUiMode.manual,
overlays: SystemUiOverlay.values,
),
SystemChrome.setEnabledSystemUIMode(
SystemUiMode.manual,
overlays: SystemUiOverlay.values,
);
super.dispose();