Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- viewmodel
- scroll
- activity
- intent
- Flutter
- CustomScrollView
- Button
- 안드로이드
- 앱
- Kotlin
- TEST
- textview
- appbar
- android
- Dialog
- livedata
- 계측
- Navigation
- textfield
- Coroutines
- drift
- 앱바
- LifeCycle
- 테스트
- binding
- Compose
- data
- ScrollView
- tabbar
- DART
Archives
- Today
- Total
목록font style (1)
Study Record
[Flutter] theme 적용해보기 - 글꼴
✍ theme 글꼴 적용 보통 Text(...) 위젯의 스타일(style)을 적용하려면 다음과 같이 Text() 위젯마다 TextStyle() 를 일일이 적용해야 한다. Text( "하늘하늘 맑은 하늘", style: TextStyle( color: Colors.white, fontSize: 70.0, fontFamily: 'parisienne' ), ); 중복되는 TextStyle() 를 하나로 통합해서 사용할 수 있는 방법이 theme 에 textTheme 이다. main 함수가 있는 MaterialApp 의 theme 인자값에 TextStyle() 을 설정한다. MaterialApp( theme: ThemeData( textTheme: TextTheme( headline1: TextStyle( co..
Flutter
2023. 2. 3. 23:36