@@ -6,17 +6,17 @@ void main() {
66 // Helper function to create a sample JSON map
77 Map <String , dynamic > createJson ({
88 String baseTheme = 'system' ,
9- String accentTheme = 'defaultBlue ' ,
9+ String accentTheme = 'default_blue ' ,
1010 String fontFamily = 'SystemDefault' ,
1111 String textScaleFactor = 'medium' ,
1212 String fontWeight = 'regular' ,
1313 }) {
1414 return {
15- 'baseTheme ' : baseTheme,
16- 'accentTheme ' : accentTheme,
17- 'fontFamily ' : fontFamily,
18- 'textScaleFactor ' : textScaleFactor,
19- 'fontWeight ' : fontWeight,
15+ 'base_theme ' : baseTheme,
16+ 'accent_theme ' : accentTheme,
17+ 'font_family ' : fontFamily,
18+ 'text_scale_factor ' : textScaleFactor,
19+ 'font_weight ' : fontWeight,
2020 };
2121 }
2222
@@ -102,7 +102,7 @@ void main() {
102102 test ('handles different enum values' , () {
103103 final json = createJson (
104104 baseTheme: 'light' ,
105- accentTheme: 'graphiteGray ' ,
105+ accentTheme: 'graphite_gray ' ,
106106 fontFamily: 'Merriweather' ,
107107 textScaleFactor: 'small' ,
108108 fontWeight: 'light' ,
0 commit comments