如何在Android Studio中修复Flutter中的此错误
/C:/src/flutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/get-4.6.3/lib/get_navigation/src/snackbar/snackbar.dart:452:31: 错误:无法在'SchedulerBinding?'上调用'addPostFrameCallback'方法,因为它可能为 null。
- 'SchedulerBinding' 来自 'package:flutter/src/scheduler/binding.dart' ('/C:/src/flutterSDK/flutter/packages/flutter/lib/src/scheduler/binding.dart')。 尝试使用?.来调用。 SchedulerBinding.instance.addPostFrameCallback( ^^^^^^^^^^^^^^^^^^^^