Skip to content

Commit

Permalink
docs: fix typos in ko/bloc-concepts.mdx and `ko/flutter-bloc-concep…
Browse files Browse the repository at this point in the history
…ts.mdx` (#4369)
  • Loading branch information
raccoon91 authored Mar 6, 2025
1 parent 8e14a43 commit 48f564c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/content/docs/ko/bloc-concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ Event는 Bloc에 대한 입력입니다. 일반적으로 버튼을 누름과 같
:::

:::caution
Bloc은 새로운 state를 직접 `emit`하면 안 됩니다. 대신 모든 state 변경은 `EventHandler` 내에서 들어오는 event에 대한 응답으로 출력되어야 합니다.
Bloc은 새로운 state를 직접 `emit`해서는 안 됩니다. 대신 모든 state 변경은 `EventHandler` 내에서 들어오는 event에 대한 응답으로 출력되어야 합니다.
:::

:::caution
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/ko/flutter-bloc-concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Navigation, Dialog 표시 등과 같은 state 변경에 대한 응답으로 무

### BlocListener

**BlocListener**는 필수 `BlocWidgetListener`와 선택적 `Bloc` 파라미터를 사용하고 bloc의 state 변경에 대한 응답으로 `listener`를 호출하는 Flutter 위젯입니다. Navigation, `Shackbar` 표시, `Dialog` 표시 등과 같이 state 변경당 한 번 발생해야 하는 기능에 사용해야 합니다.
**BlocListener**는 필수 `BlocWidgetListener`와 선택적 `Bloc` 파라미터를 사용하고 bloc의 state 변경에 대한 응답으로 `listener`를 호출하는 Flutter 위젯입니다. navigation, `Snackbar` 표시, `Dialog` 표시 등과 같이 state 변경당 한 번 발생해야 하는 기능에 사용해야 합니다.

`listener``BlocBuilder``builder`와 달리 각 state 변경 (초기 state를 포함하지 **않음**)에 대해 한 번만 호출되며 `void` 함수입니다.

Expand Down

0 comments on commit 48f564c

Please sign in to comment.