forked from mirrors/material_3_expressive
Refactor progress indicators to use stateful widgets, enhance animation control, and remove unnecessary subtitles in section cards
This commit is contained in:
parent
687bca8817
commit
b4ccdd7750
11 changed files with 316 additions and 130 deletions
|
|
@ -10,14 +10,14 @@ class IconButtonSection extends StatelessWidget {
|
|||
Widget build(BuildContext context) {
|
||||
return SectionCard(
|
||||
title: 'IconButtonM3E',
|
||||
subtitle: 'Generated from enums: variant × size (round shape, default width).',
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
for (final variant in IconButtonM3EVariant.values) ...[
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 8),
|
||||
child: Text(variant.name, style: Theme.of(context).textTheme.titleMedium),
|
||||
child: Text(variant.name,
|
||||
style: Theme.of(context).textTheme.titleMedium),
|
||||
),
|
||||
Wrap(
|
||||
spacing: 12,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue