1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Code of other files depends on headline1 (#466)

Code of other files depends on `headline1`, but there's only `headline2` defined in the **theme.dart** file.

This was a regression introduced with #432.
This commit is contained in:
查理大叔
2020-06-10 12:35:10 +08:00
committed by GitHub
parent 47b8610ed9
commit 30ee7202e2

View File

@@ -7,7 +7,7 @@ import 'package:flutter/material.dart';
final appTheme = ThemeData(
primarySwatch: Colors.yellow,
textTheme: TextTheme(
headline2: TextStyle(
headline1: TextStyle(
fontFamily: 'Corben',
fontWeight: FontWeight.w700,
fontSize: 24,