@@ -14,37 +14,37 @@ import 'package:label_storemax/helpers/tools.dart';
1414
1515TextTheme textThemeAccent () {
1616 return TextTheme (
17- display1 : new TextStyle (
17+ headline4 : new TextStyle (
1818 color: Colors .black,
1919 fontFamily: appFontFamily,
2020 fontWeight: FontWeight .w800,
2121 fontSize: 26 ),
22- display2 : new TextStyle (
22+ headline3 : new TextStyle (
2323 color: Colors .black,
2424 fontFamily: appFontFamily,
2525 fontWeight: FontWeight .w600),
26- display3 : new TextStyle (
26+ headline2 : new TextStyle (
2727 color: Colors .black,
2828 fontFamily: appFontFamily,
2929 fontWeight: FontWeight .w600),
30- display4 : new TextStyle (
30+ headline1 : new TextStyle (
3131 color: Colors .black,
3232 fontFamily: appFontFamily,
3333 fontWeight: FontWeight .w600),
34- headline : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
35- title : new TextStyle (
34+ headline5 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
35+ headline6 : new TextStyle (
3636 color: Colors .black,
3737 fontFamily: appFontFamily,
3838 ),
39- subhead : new TextStyle (
39+ subtitle1 : new TextStyle (
4040 color: Colors .black,
4141 fontFamily: appFontFamily,
4242 fontWeight: FontWeight .w800),
43- body2 : new TextStyle (
43+ bodyText1 : new TextStyle (
4444 color: HexColor ("#606060" ),
4545 fontFamily: appFontFamily,
4646 fontWeight: FontWeight .w700),
47- body1 : new TextStyle (
47+ bodyText2 : new TextStyle (
4848 color: HexColor ("#a8a8a8" ),
4949 fontFamily: appFontFamily,
5050 fontWeight: FontWeight .w700,
@@ -63,37 +63,37 @@ TextTheme textThemeAccent() {
6363
6464TextTheme textThemePrimary () {
6565 return TextTheme (
66- display1 : new TextStyle (
66+ headline4 : new TextStyle (
6767 color: Colors .black,
6868 fontFamily: appFontFamily,
6969 fontWeight: FontWeight .w800,
7070 fontSize: 26 ),
71- display2 : new TextStyle (
71+ headline3 : new TextStyle (
7272 color: Colors .black,
7373 fontFamily: appFontFamily,
7474 fontWeight: FontWeight .w600),
75- display3 : new TextStyle (
75+ headline2 : new TextStyle (
7676 color: Colors .black,
7777 fontFamily: appFontFamily,
7878 fontWeight: FontWeight .w600),
79- display4 : new TextStyle (
79+ headline1 : new TextStyle (
8080 color: Colors .black,
8181 fontFamily: appFontFamily,
8282 fontWeight: FontWeight .w600),
83- headline : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
84- title : new TextStyle (
83+ headline5 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
84+ headline6 : new TextStyle (
8585 color: Colors .black87,
8686 fontFamily: appFontFamily,
8787 fontWeight: FontWeight .w600),
88- subhead : new TextStyle (
88+ subtitle1 : new TextStyle (
8989 color: Colors .black,
9090 fontFamily: appFontFamily,
9191 fontWeight: FontWeight .w800),
92- body2 : new TextStyle (
92+ bodyText1 : new TextStyle (
9393 color: HexColor ("#606060" ),
9494 fontFamily: appFontFamily,
9595 fontWeight: FontWeight .w700),
96- body1 : new TextStyle (
96+ bodyText2 : new TextStyle (
9797 color: HexColor ("#a8a8a8" ),
9898 fontFamily: appFontFamily,
9999 fontWeight: FontWeight .w700,
@@ -112,18 +112,18 @@ TextTheme textThemePrimary() {
112112
113113TextTheme textThemeMain () {
114114 return TextTheme (
115- display1 : new TextStyle (
115+ headline4 : new TextStyle (
116116 color: Colors .black,
117117 fontFamily: appFontFamily,
118118 ),
119- display2 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
120- display3 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
121- display4 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
122- headline : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
123- title : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
124- subhead : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
125- body2 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
126- body1 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
119+ headline3 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
120+ headline2 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
121+ headline1 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
122+ headline5 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
123+ headline6 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
124+ subtitle1 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
125+ bodyText1 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
126+ bodyText2 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
127127 caption: new TextStyle (
128128 color: Colors .redAccent, fontSize: 16 , fontFamily: appFontFamily),
129129 button: new TextStyle (color: Colors .black, fontFamily: appFontFamily),
@@ -132,18 +132,18 @@ TextTheme textThemeMain() {
132132
133133TextTheme textThemeAppBar () {
134134 return TextTheme (
135- display1 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
136- display2 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
137- display3 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
138- display4 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
139- headline : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
140- title : new TextStyle (
135+ headline4 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
136+ headline3 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
137+ headline2 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
138+ headline1 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
139+ headline5 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
140+ headline6 : new TextStyle (
141141 color: Colors .black,
142142 fontFamily: appFontFamily,
143143 fontWeight: FontWeight .w900),
144- subhead : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
145- body2 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
146- body1 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
144+ subtitle1 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
145+ bodyText1 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
146+ bodyText2 : new TextStyle (color: Colors .black, fontFamily: appFontFamily),
147147 caption: new TextStyle (color: Colors .black, fontFamily: appFontFamily),
148148 button: new TextStyle (color: Colors .black, fontFamily: appFontFamily),
149149 );
0 commit comments