DEV_STUDY

  • 홈
  • 태그
  • 방명록

rivierpod 1

riverpod2.0 codegeneration 학습 2

class 기반의 riverpod은 몇가지의 특징을 가진다. 우선 g.dart파일로 생성된 결과물은 Notifier / AsyncNotifier를 생성하는 것을 볼 수 있다. AutoDisposeNotifier; AutoDisposeAsyncNotifier; 1. 생성 NotidierProvider notifier는 state를 가지고 있으며, 해당 state를 중심으로 동작한다. notifier는 반드시 class로 구성되어야 하며, codegenerater를 사용한다면 다음과 같이 상속을 통해 구현됨을 명시하여야 한다. @riverpod class ValueNotifier extends _$ValueNotifier ChangeNotifier 혹은 StateNotifier를 구현하는 것과 일정부분 유사..

flutter 2023.05.06
이전
1
다음
더보기
프로필사진

DEV_STUDY

https://github.com/BowonLee

  • 분류 전체보기 (47)
    • 알고리즘 (7)
    • 안드로이드 (3)
    • IOS (0)
    • flutter (20)
    • php (1)
    • springboot (7)
    • 회고 (6)
    • javascript (1)
    • 형상관리 (1)

Tag

rivierpod, kotlin springboot, BLoC, Flutter, kotlin, ObjectMapper, 안드로이드, hive, DART, riverpod, google io, 회고, html2canvas, #json, 알고리즘, 코틀린, php, springboot, SVG, freezed,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바