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

Update for Material changes & run rebuild scripts (#1412)

This commit is contained in:
Brett Morgan
2022-09-01 11:01:17 +10:00
committed by GitHub
parent 83f7059d83
commit 9d8aa333ee
167 changed files with 928 additions and 1061 deletions

View File

@@ -142,7 +142,7 @@ class _FormValidationDemoState extends State<FormValidationDemo> {
),
Text(
'I agree to the terms of service.',
style: Theme.of(context).textTheme.subtitle1,
style: Theme.of(context).textTheme.titleMedium,
),
],
),
@@ -151,7 +151,7 @@ class _FormValidationDemoState extends State<FormValidationDemo> {
formFieldState.errorText ?? "",
style: Theme.of(context)
.textTheme
.caption!
.bodySmall!
.copyWith(color: Theme.of(context).errorColor),
),
],