How do i print the value which is coming from modal bottom sheet to the main scaffold body in dart+flutter?
scaffold 위젯 속성인 bottom sheet 를 쓰게 되면 본문이 bottom sheet 에 일부 가려져 안보이는 결과를 초래하게 된다.
[해결]
본문을 padding widget 으로 감싸고 아래에만 bottom sheet 높이만큼 padding 을 준다.
ex)
Scaffold(body: (child:Body(),padding:EdgeInsets.only(bottom: <bottom sheet 높이>))