-
main함수안에 WidgetsFlutterBinding.ensureInitialized() 를선언 함으로써 비동기로 선언해준다. void main() async { WidgetsFlutterBinding.ensureInitialized(); pass }