알쓸전컴(알아두면 쓸모있는 전자 컴퓨터)
한번식 필요할때가 있어 자료를 게시합니다, 출처: https://flutter-ko.dev/docs/get-started/flutter-for/android-devs 안드로이드 액티비티의 생명주기 이벤트를 어떻게 수신할 수 있나요? 안드로이드에서는 액티비티에 있는 메서드를 오버라이드하여, 액티비티 자체에 있는 생명주기를 메서드를 수정하거나 Application에 ActivityLifecycleCallbacks를 등록할 수 있습니다. Flutter에서는 위와 같은 개념은 없지만, 대신 WidgetsBinding 옵저버에 연결하고 didChangeAppLifecycleState() 변경 이벤트를 수신하여 생명주기 이벤트를 수신할 수 있습니다. 관찰 가능한 생명주기 이벤트는 다음과 같습니다: inactive ..
https://stackoverflow.com/questions/51279611/flutter-listview-builder-not-updating-after-insert Flutter ListView.builder not updating after insert I've got a SQLite database that I query data from. From such data I create the necessary widgets and store them in a list. Passing the list to ListView.builder I create the items from the list. stackoverflow.com Flutter 에서 Key값을 유지하고 사용하거나 설정을 하지 않으면 ..
https://www.curioustore.com/