Skip to content

Commit c8fe0fc

Browse files
committed
Added key for completeness.
1 parent 0c5ff14 commit c8fe0fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/src/widgets/grouped_checkbox.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ class GroupedCheckbox<T> extends StatefulWidget {
181181
final ControlAffinity controlAffinity;
182182

183183
GroupedCheckbox({
184+
Key key,
184185
@required this.options,
185186
@required this.orientation,
186187
@required this.onChanged,
@@ -202,7 +203,7 @@ class GroupedCheckbox<T> extends StatefulWidget {
202203
this.wrapVerticalDirection = VerticalDirection.down,
203204
this.separator,
204205
this.controlAffinity = ControlAffinity.leading,
205-
});
206+
}) : super(key: key);
206207

207208
@override
208209
_GroupedCheckboxState<T> createState() => _GroupedCheckboxState<T>();

0 commit comments

Comments
 (0)