mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Document tristate value (#110106)
Documentation for Checkbox.value previously did not cover the tristate case.
This commit is contained in:
parent
8027842393
commit
c865207540
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user