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 c3cf8d6 commit 6bab507Copy full SHA for 6bab507
lib/src/custom_refresh_indicator.dart
@@ -68,6 +68,7 @@ class CustomRefreshIndicator extends StatefulWidget {
68
final IndicatorController controller;
69
70
CustomRefreshIndicator({
71
+ Key key,
72
@required this.child,
73
@required this.onRefresh,
74
@required this.builder,
@@ -80,7 +81,8 @@ class CustomRefreshIndicator extends StatefulWidget {
80
81
this.leadingGlowVisible = false,
82
this.trailingGlowVisible = true,
83
}) : assert(child != null, 'child argument cannot be null'),
- assert(builder != null, 'builder argument cannot be null');
84
+ assert(builder != null, 'builder argument cannot be null'),
85
+ super(key: key);
86
87
@override
88
_CustomRefreshIndicatorState createState() => _CustomRefreshIndicatorState();
0 commit comments