반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- googleoath2연결
- 젠킨스초기설정
- Geolocator
- jenkins설치
- oath2
- googlerefreshtoken
- 네이버API
- DART
- vite
- flutter drawer
- springboot세팅
- drawer 설정
- spring
- vite.config.js
- Flutter
- API
- Spring-boot
- refreshtoken값받기
- 카카오API
- kakaoAPI
- 로그제거
- 플루터
- Java
- 스프링부트
- springboot
- refreshtoken값
- dynamicrouter
- restapi
- naverapi
- vite설정
Archives
- Today
- Total
사소한것부터 바꾸자
App bar Icon Button 본문
- leading: 아이콘 버튼이나 간단한 위젯을 왼쪽에 배치할 때
- actions: 복수의 아이콘 버튼 등을 오른쪽에 배치할 때
- onPressed: 함수의 형태로 일반 버튼이나 아이콘 버튼을 터치했을 때 일어나는 이벤트를 정의
appBar: AppBar(
title: Text('Appbar icon menu'),
centerTitle: true,
elevation: 0.0,
leading: IconButton(
icon: Icon(Icons.menu),
onPressed: () {
print('menu button is clicked');
},
),
actions: <Widget>[
IconButton(
icon: Icon(Icons.shopping_cart),
onPressed: () {
print('shopping_cart button is clicked');
},
),
IconButton(
icon: Icon(Icons.search),
onPressed: () {
print('search button is clicked');
},
),
],
)
반응형
'앱개발 > flutter' 카테고리의 다른 글
PermissionDeniedException (User denied permissions to access the device's location.) - 오류 해결 (0) | 2022.03.18 |
---|---|
Drawer (0) | 2022.03.10 |
Comments