Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update textstyles on home.dart #189

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 2 additions & 4 deletions mdc_100_series/lib/home.dart
Expand Up @@ -57,17 +57,15 @@ class HomePage extends StatelessWidget {
// TODO: Change innermost Column (103)
children: <Widget>[
// TODO: Handle overflowing labels (103)
// TODO(larche): Make headline6 when available
Text(
product.name,
style: theme.textTheme.title,
style: theme.textTheme.headline6,
maxLines: 1,
),
SizedBox(height: 8.0),
// TODO(larche): Make subtitle2 when available
Text(
formatter.format(product.price),
style: theme.textTheme.body2,
style: theme.textTheme.subtitle2,
),
],
),
Expand Down