로딩
요청 처리 중입니다...

Flutter App개발 - 화면만들기 Part.2 - AppBar만들기

 Flutter App개발 - 화면만들기 Part.2 - AppBar만들기

<완성화면> appBar 만들기 오늘은 상단에 AppBar를 추가해 보도록 하겠습니다. AppBar의 영역에 대한 명칭은 아래와 같습니다.

우리는 아래와 같이 leading 과 actions 에 각각 아이콘과 이미지를 넣어주면 되겠군요! leading & actions 아이콘 버튼 만들기 아래 코드를 복사해서 24번째 return Scaffold( 뒤에 붙여 넣어주세요!

[코드] AppBar 아이콘 appBar: AppBar( leading: Row( children: [ SizedBox(width: 16), Text( '중앙동', style: TextStyle( color: Colors.black, fontWeight: FontWeight.bold, fontSize: 20, ), ), Icon( Icons.keyboard_arrow_down_rounded, color: Colors.black, ), ], ), leadingWidth: 100, actions: [ IconButton...

# FlutterApp개발 # FlutterApp개발_appbar만들기 # FlutterApp개발_화면만들기