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:
committed by
GitHub
parent
fe0932f2c0
commit
3beeed4929
@@ -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(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user