본문 바로가기
2023년 이전/flutter

Flutter - textTheme 의 deprecated 2014

by JeongUPark 2021. 12. 13.
반응형

The 2014 spec - Text style

NAME       SIZE   WEIGHT   SPACING  2018 NAME

display4   112.0  thin     0.0      headline1
display3   56.0   normal   0.0      headline2
display2   45.0   normal   0.0      headline3
display1   34.0   normal   0.0      headline4
headline   24.0   normal   0.0      headline5
title      20.0   medium   0.0      headline6
subhead    16.0   normal   0.0      subtitle1
body2      14.0   medium   0.0      body1 (bodyText1)
body1      14.0   normal   0.0      body2 (bodyText2)
caption    12.0   normal   0.0      caption
button     14.0   medium   0.0      button
subtitle   14.0   medium   0.0      subtitle2
overline   10.0   normal   0.0      overline

The 2018 spec - Text styles

NAME         SIZE  WEIGHT  SPACING

headline1    96.0  light   -1.5
headline2    60.0  light   -0.5
headline3    48.0  regular  0.0
headline4    34.0  regular  0.25
headline5    24.0  regular  0.0
headline6    20.0  medium   0.15
subtitle1    16.0  regular  0.15
subtitle2    14.0  medium   0.1
body1        16.0  medium   0.5   (bodyText1)
body2        14.0  regular  0.25  (bodyText2)
button       14.0  medium   1.25
caption      12.0  regular  0.4
overline     10.0  regular  1.5

반응형

'2023년 이전 > flutter' 카테고리의 다른 글

Flutter - as Prefix  (1) 2021.12.13
Flutter 관련 도규먼트들  (0) 2021.12.13
FlatButton, RaisedButton, OutlineButton Deprecated  (0) 2021.12.13
Flutter 실행 해보기  (0) 2021.12.06
Flutter 설치  (0) 2021.12.05