This commit is contained in:
Abhishek Ghaskata 2021-08-14 05:32:09 +05:30 committed by GitHub
parent 79ff8a5cb6
commit 10aad08a34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,9 +138,9 @@ class Checkbox extends StatefulWidget {
/// ```dart
/// Checkbox(
/// value: _throwShotAway,
/// onChanged: (bool newValue) {
/// onChanged: (bool? newValue) {
/// setState(() {
/// _throwShotAway = newValue;
/// _throwShotAway = newValue!;
/// });
/// },
/// )