ElevatedButton(
onPressed: () {
// 버튼 클릭 시 실행될 코드
},
child: Text('둥근 버튼'),
style: ElevatedButton.styleFrom(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(20), // 둥글기 조절
),
),
)'Flutter' 카테고리의 다른 글
| Warning: SDK processing. This version only understands... (0) | 2024.12.26 |
|---|---|
| Flutter Emulator Error Connecting to Service Protocol (2) | 2024.12.25 |
| visual studio code 에서 flutter doctor 실행시 오류 (2) | 2024.12.24 |
| google_mobile_ads 추가후 실행안됨 해결 (4) | 2024.12.15 |
| launcher_icons 생성하기 (0) | 2024.12.08 |