add ? (#88019)
This commit is contained in:
parent
79ff8a5cb6
commit
10aad08a34
@ -138,9 +138,9 @@ class Checkbox extends StatefulWidget {
|
||||
/// ```dart
|
||||
/// Checkbox(
|
||||
/// value: _throwShotAway,
|
||||
/// onChanged: (bool newValue) {
|
||||
/// onChanged: (bool? newValue) {
|
||||
/// setState(() {
|
||||
/// _throwShotAway = newValue;
|
||||
/// _throwShotAway = newValue!;
|
||||
/// });
|
||||
/// },
|
||||
/// )
|
||||
|
Loading…
x
Reference in New Issue
Block a user