Document tristate value (#110106)

Documentation for Checkbox.value previously did not cover the tristate case.
This commit is contained in:
yaakovschectman 2022-08-23 15:58:56 -04:00 committed by GitHub
parent 8027842393
commit c865207540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,8 @@ class Checkbox extends StatefulWidget {
/// Whether this checkbox is checked.
///
/// This property must not be null.
/// When [tristate] is true, a value of null corresponds to the mixed state.
/// When [tristate] is false, this value must not be null.
final bool? value;
/// Called when the value of the checkbox should change.