Inheritance
System.Object
Checkbox
public class Checkbox : StatefulWidget
Constructors
Declaration
public Checkbox(Key key = null, bool? value, bool tristate = false, ValueChanged<bool? > onChanged = null, Color activeColor = null, Color checkColor = null, MaterialTapTargetSize? materialTapTargetSize = default(MaterialTapTargetSize? ))
Parameters
Type |
Name |
Description |
Key |
key |
|
System.Nullable<System.Boolean> |
value |
|
System.Boolean |
tristate |
|
ValueChanged<System.Nullable<System.Boolean>> |
onChanged |
|
Color |
activeColor |
|
Color |
checkColor |
|
System.Nullable<MaterialTapTargetSize> |
materialTapTargetSize |
|
Fields
Declaration
public readonly Color activeColor
Field Value
Declaration
public readonly Color checkColor
Field Value
Declaration
public readonly MaterialTapTargetSize? materialTapTargetSize
Field Value
Declaration
public readonly ValueChanged<bool? > onChanged
Field Value
Type |
Description |
ValueChanged<System.Nullable<System.Boolean>> |
|
Declaration
public readonly bool tristate
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly bool? value
Field Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public const float width = 18F
Field Value
Type |
Description |
System.Single |
|
Methods
Declaration
public override State createState()
Returns
Overrides