flutter

[Flutter] Scafford?..

bakerlee 2021. 8. 14. 11:30

공식 튜토리얼을 하다 보니 항상 이 클래스부터 생성하고 시작해서 대략적으로나마 알아보려 한다. 

 

 

공식 문서에서 검색하니 

Implements the basic material design visual layout structure.

This class provides APIs for showing drawers and bottom sheets.

이렇다고 한다.. 

 

가장 기본적으로 사용되는 레이아웃이라고 생각하면 될 듯 하다.

 

문서 하단의 properties 를  보니 예제에서 사용한 appbar, body 이외에도 여러 위젯을 추가할 수 있는 듯 하다. 

공식문서에서 바로 태스트 하면서 확인 할 수 있어 편리하다.  

 

자주 사용하는 위젯, 기능들을 미리 생성해 놓은 느낌이다..  

 

 

https://api.flutter.dev/flutter/material/Scaffold-class.html

 

Scaffold class - material library - Dart API

Implements the basic material design visual layout structure. This class provides APIs for showing drawers and bottom sheets. To display a persistent bottom sheet, obtain the ScaffoldState for the current BuildContext via Scaffold.of and use the ScaffoldSt

api.flutter.dev