miler map
This commit is contained in:
@@ -162,7 +162,14 @@ void main() {
|
||||
final area = tester.widget<Text>(find.text('Peelamedu').first).style!;
|
||||
|
||||
expect(kitchen.fontSize, 19);
|
||||
expect(kitchen.fontWeight, FontWeight.w700);
|
||||
// ── The grade belongs to the typeface, not to this test ──
|
||||
//
|
||||
// This read w700 while the app was set in Poppins on a scale stepped down
|
||||
// one grade to compensate for how heavily that face renders. The app is
|
||||
// back on Manrope and the scale went back up with it, so the heading is
|
||||
// w800 again — the value it had before the typeface was swapped. See
|
||||
// `FontConstants`, which is where the scale is documented.
|
||||
expect(kitchen.fontWeight, FontWeight.w800);
|
||||
expect(name.fontSize, 15);
|
||||
expect(area.fontSize, 12.5);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user