|
|
@ -110,8 +110,9 @@ void main() {
|
|
|
|
expect(find.byType(FilterChip), findsNWidgets(2));
|
|
|
|
expect(find.byType(FilterChip), findsNWidgets(2));
|
|
|
|
expect(find.byType(InputChip), findsNWidgets(2));
|
|
|
|
expect(find.byType(InputChip), findsNWidgets(2));
|
|
|
|
|
|
|
|
|
|
|
|
// Date pickers
|
|
|
|
// Date and time pickers
|
|
|
|
expect(find.widgetWithText(TextButton, 'Show date picker'), findsOneWidget);
|
|
|
|
expect(find.widgetWithText(DatePicker, 'Show date picker'), findsOneWidget);
|
|
|
|
|
|
|
|
expect(find.widgetWithText(TimePicker, 'Show time picker'), findsOneWidget);
|
|
|
|
|
|
|
|
|
|
|
|
// Menus
|
|
|
|
// Menus
|
|
|
|
expect(find.byType(MenuAnchor), findsNWidgets(5));
|
|
|
|
expect(find.byType(MenuAnchor), findsNWidgets(5));
|
|
|
@ -128,9 +129,6 @@ void main() {
|
|
|
|
// Switches
|
|
|
|
// Switches
|
|
|
|
expect(find.byType(Switch), findsNWidgets(4));
|
|
|
|
expect(find.byType(Switch), findsNWidgets(4));
|
|
|
|
|
|
|
|
|
|
|
|
// Time pickers
|
|
|
|
|
|
|
|
expect(find.widgetWithText(TextButton, 'Show time picker'), findsOneWidget);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TextFields
|
|
|
|
// TextFields
|
|
|
|
expect(find.widgetWithText(TextField, 'Disabled'), findsNWidgets(2));
|
|
|
|
expect(find.widgetWithText(TextField, 'Disabled'), findsNWidgets(2));
|
|
|
|
expect(find.widgetWithText(TextField, 'Filled'), findsNWidgets(2));
|
|
|
|
expect(find.widgetWithText(TextField, 'Filled'), findsNWidgets(2));
|
|
|
|