Presenting Bottom Sheet using ViewModel

My new app uses a bottom sheet to create a new party and the bottom sheet leverages data from the view model of the screen.

The bottom sheet is also huge and embedded in the screen code. So I decided to separate the sheet to an individual widget.


Widget

View Model

Child View Model

Pop

Clearing Child View Model


#flutter #sheet #viewmodel

https://toyboy2.medium.com/presenting-bottom-sheet-using-viewmodel-in-flutter-ae261d7d7e0a

Presenting Bottom Sheet using ViewModel in Flutter

Medium

Presenting Bottom Sheet using ViewModel in Flutter

더 많은 콘텐츠를 보고 싶다면?

또는

이미 회원이신가요?

2024년 6월 10일 오전 7:10

조회 1,005

댓글 0