Add tests for restorable_value.0.dart API example. (#148676)

This PR contributes to https://github.com/flutter/flutter/issues/130459

### Description
- Updates `examples/api/lib/widgets/restoration_properties/restorable_value.0.dart` to meet the latest API examples structure
- Adds tests for `examples/api/lib/widgets/restoration_properties/restorable_value.0.dart`
This commit is contained in:
Kostia Sokolovskyi
2024-05-23 10:34:23 +02:00
committed by GitHub
parent fe0932f2c0
commit 3beeed4929
4 changed files with 69 additions and 13 deletions

View File

@@ -21,7 +21,7 @@ void main() {
return button.style?.foregroundColor?.resolve(<WidgetState>{});
}
testWidgets('increments and decrements value', (WidgetTester tester) async {
testWidgets('Increments and decrements value', (WidgetTester tester) async {
await tester.pumpWidget(
const example.ActionsExampleApp(),
);