Unverified Commit 7dfb997e authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Add dispose to restoration example (#63497)

parent c13b354a
......@@ -664,6 +664,12 @@ abstract class RestorableProperty<T> extends ChangeNotifier {
/// }
///
/// @override
/// void dispose() {
/// _counter.dispose();
/// super.dispose();
/// }
///
/// @override
/// Widget build(BuildContext context) {
/// return Scaffold(
/// appBar: AppBar(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment