Skip to content

Commit 4c05e2d

Browse files
committed
Fixed type error in GroupedRadio widget
1 parent b993a54 commit 4c05e2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/widgets/grouped_radio.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class GroupedRadio<T> extends StatefulWidget {
1717
final OptionsOrientation orientation;
1818

1919
/// Called when the value of the checkbox group changes.
20-
final ValueChanged<T> onChanged;
20+
final ValueChanged<T?> onChanged;
2121

2222
/// The color to use when this checkbox is checked.
2323
///

0 commit comments

Comments
 (0)