We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceb17f6 commit 4622e29Copy full SHA for 4622e29
packages/flutter/lib/src/utils/parse_live_list.dart
@@ -134,6 +134,13 @@ class _ParseLiveListWidgetState<T extends sdk.ParseObject>
134
: buildAnimatedList();
135
}
136
137
+ @override
138
+ void setState(VoidCallback fn) {
139
+ if (mounted) {
140
+ super.setState(fn);
141
+ }
142
143
+
144
Widget buildAnimatedList() {
145
return AnimatedList(
146
key: _animatedListKey,
@@ -235,6 +242,13 @@ class _ParseLiveListElementWidgetState<T extends sdk.ParseObject>
235
242
236
243
StreamSubscription<T> _streamSubscription;
237
244
245
246
247
248
249
250
251
238
252
@override
239
253
void dispose() {
240
254
_streamSubscription?.cancel();
0 commit comments