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
|
|
@ -16,14 +16,14 @@ class SplitButtonSection extends StatelessWidget {
|
|||
|
||||
return SectionCard(
|
||||
title: 'SplitButtonM3E',
|
||||
subtitle: 'Generated from enums: emphasis × size (round shape).',
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
for (final emphasis in SplitButtonM3EEmphasis.values) ...[
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 8),
|
||||
child: Text(emphasis.name, style: Theme.of(context).textTheme.titleMedium),
|
||||
child: Text(emphasis.name,
|
||||
style: Theme.of(context).textTheme.titleMedium),
|
||||
),
|
||||
Wrap(
|
||||
spacing: 12,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue