diff --git a/packages/flutter_test/lib/src/restoration.dart b/packages/flutter_test/lib/src/restoration.dart index c49b2b1724..ac868a8304 100644 --- a/packages/flutter_test/lib/src/restoration.dart +++ b/packages/flutter_test/lib/src/restoration.dart @@ -60,7 +60,7 @@ class TestRestorationManager extends RestorationManager { /// To turn restoration back on call [restoreFrom]. void disableRestoration() { _restorationData = null; - handleRestorationUpdateFromEngine(enabled: false); + handleRestorationUpdateFromEngine(enabled: false, data: null); } @override