forked from mirrors/material_3_expressive
Add global WIDGETBOOK-INDEX.md and refactor use case method names for consistency across components
This commit is contained in:
parent
80ca8f665a
commit
f135a6a5f7
10 changed files with 49 additions and 19 deletions
|
|
@ -118,7 +118,7 @@ Widget _buildDemo(
|
|||
}
|
||||
|
||||
@UseCase(name: 'default', type: ButtonM3E)
|
||||
Widget buildButtonM3EUseCase(BuildContext context) {
|
||||
Widget buildButtonM3EDefaultUseCase(BuildContext context) {
|
||||
// Default uses filled style; other params adjustable with knobs
|
||||
return _buildDemo(context, style: ButtonM3EStyle.filled);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue