mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
Update filled button and filled tonal button (#1390)
* Update FilledButton and FilledTonalButton * Ran flutter format Co-authored-by: Qun Cheng <quncheng@google.com> Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
This commit is contained in:
@@ -23,9 +23,8 @@ void main() {
|
||||
// Elements on the component screen
|
||||
// Buttons
|
||||
expect(find.widgetWithText(ElevatedButton, 'Elevated'), findsNWidgets(2));
|
||||
expect(find.widgetWithText(ElevatedButton, 'Filled'), findsNWidgets(2));
|
||||
expect(
|
||||
find.widgetWithText(ElevatedButton, 'Filled Tonal'), findsNWidgets(2));
|
||||
expect(find.widgetWithText(FilledButton, 'Filled'), findsNWidgets(2));
|
||||
expect(find.widgetWithText(FilledButton, 'Filled Tonal'), findsNWidgets(2));
|
||||
expect(find.widgetWithText(OutlinedButton, 'Outlined'), findsNWidgets(2));
|
||||
expect(find.widgetWithText(TextButton, 'Text'), findsNWidgets(2));
|
||||
expect(find.text('Icon'), findsNWidgets(5));
|
||||
|
||||
Reference in New Issue
Block a user