Unverified Commit c8652075 authored by yaakovschectman's avatar yaakovschectman Committed by GitHub

Document tristate value (#110106)

Documentation for Checkbox.value previously did not cover the tristate case.
parent 80278423
...@@ -91,7 +91,8 @@ class Checkbox extends StatefulWidget { ...@@ -91,7 +91,8 @@ class Checkbox extends StatefulWidget {
/// Whether this checkbox is checked. /// 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; final bool? value;
/// Called when the value of the checkbox should change. /// Called when the value of the checkbox should change.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment