**이 페이지에서 알 수 있는 내용 このページからわかること
- Appbar
- title
- backgroundColor
- elevation
- leading
- action**
main.dart
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('AppBarデモ'), // 앱바 타이틀 설정
backgroundColor:Colors.red, // 앱바 배경색 설정
elevation: 10, // 앱바가 떠있는 효과를 만들 수 있음
leading: Text('テスト'), // 앱바의 좌측을 담당하는 프로퍼티
actions: [ // 앱바의 우측을 담당하는 프로퍼티
Text('1'),
Text('2'),
Text('3')
],
),
body: Center(
...
...
),
...
...
);
}
}

AppBar
title
backgroundColor
elevation
leading
actions
AppBar의 우측 부분을 꾸밀 수 있는 프로퍼티
アプリ画面の上部を担当するウイジェット、ウエブを例を挙げるとヘーダ
AppBarのタイトルを設定するプロパティ
AppBarの色を設定するプロパティ
AppBarが浮いているように見えるプロパティ
AppBarの左側を飾れるプロパティ
AppBarの右側を飾れるプロパティ