반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- segment
- M3U8
- how to install cursor on ubuntu
- jszip
- uint16array
- KakaoMap
- babel
- hls.js
- react
- uint8array
- userevent_tracker
- Prism.js
- html2canvas
- Excel
- code editor
- node
- REST API
- Flutter
- Babel standalone
- typescript
- web track
- cursor-ubuntu-installer
- webrtc
- swagger-typescript-api
- Game js
- HLS
- Redux
- http live streaming
- Image Resize typescript
- three.js
Archives
- Today
- Total
목록RouteObserver (1)
Never give up

화면 이동을 tracking 하는 용도로 사용할 때 RouteObserver를 사용하면 간단합니다 void main() { runApp(MaterialApp( home: const MyApp(), navigatorObservers: [CommonRouteObserver()], )); } MaterialApp의 navigatorObservers에 등록을 해주고 RouteObserver를 상속받은 클래스의 기능을 정의해줍니다 class CommonRouteObserver extends RouteObserver { void _saveScreenView( {PageRoute? oldRoute, PageRoute? newRoute, String? routeType}) { debugPrint( '[track] sc..
Flutter
2022. 9. 8. 13:57