Flutter Tutorial - Value Widgets #1 Checkbox

  • 10 months ago
A material design checkbox.

The checkbox itself does not maintain any state. Instead, when the state of the checkbox changes, the widget calls the onChanged callback. Most widgets that use a checkbox will listen for the onChanged callback and rebuild the checkbox with a new value to update the visual appearance of the checkbox.

The checkbox can optionally display three values - true, false, and null - if tristate is true. When value is null a dash is displayed. By default tristate is false and the checkbox's value must be true or false.

flutter tutorial,flutter tutorial android,flutter tutorial ios,flutter cross platform,flutter tutorial beginner,flutter tutorial for beginners android studio,flutter tutorial in android studio,flutter tutorial app,flutter tutorial android studio,flutter tutorial android studio for beginners,dart flutter tutorial,flutter tutorial for ios,flutter tutorial for beginners,flutter tutorial firebase,flutter tutorial from scratch