Flutter CheckBox Widget|Abdul Motaleb |Learn With Motaleb|Flutter Widget
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.
Requires one of its ancestors to be a Material widget.
Follow Facebook Community: / 427533327933322
Follow Facebook: / learnwithmotaleb
Follow GitHub: github.com/lea...
Follow Website: www.learnwithm...
Follow Linkedin: / abdul-motaleb-345744172
E-mail: info@learnwithmotaleb.com
Phone/WhatsApp: +8801701577479
Пікірлер