1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +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

@@ -38,13 +38,13 @@ class _LintExpansionTileState extends State<LintExpansionTile> {
collapsedBackgroundColor: AppColors.white50,
title: Text(
rule.name,
style: textTheme.subtitle1!.copyWith(
style: textTheme.titleMedium!.copyWith(
fontWeight: FontWeight.w700,
),
),
subtitle: Text(
rule.description,
style: textTheme.caption!,
style: textTheme.bodySmall!,
),
initiallyExpanded: isExpanded,
onExpansionChanged: (value) {
@@ -66,7 +66,7 @@ class _LintExpansionTileState extends State<LintExpansionTile> {
children: [
TextSpan(
text: 'Group:',
style: textTheme.subtitle2,
style: textTheme.titleSmall,
),
TextSpan(
text: ' ${rule.group}',
@@ -80,7 +80,7 @@ class _LintExpansionTileState extends State<LintExpansionTile> {
children: [
TextSpan(
text: 'Maturity:',
style: textTheme.subtitle2,
style: textTheme.titleSmall,
),
TextSpan(
text: ' ${rule.maturity}',
@@ -94,7 +94,7 @@ class _LintExpansionTileState extends State<LintExpansionTile> {
children: [
TextSpan(
text: 'Incompatible:',
style: textTheme.subtitle2,
style: textTheme.titleSmall,
),
TextSpan(
text: ' $incompatibleString',
@@ -108,7 +108,7 @@ class _LintExpansionTileState extends State<LintExpansionTile> {
children: [
TextSpan(
text: 'Sets:',
style: textTheme.subtitle2,
style: textTheme.titleSmall,
),
TextSpan(
text: ' $setsString',