setVisibility method
Set the visibility of the field
Implementation
void setVisibility(bool visible) {
setState(() {
widget.visible = visible;
});
}
Set the visibility of the field
void setVisibility(bool visible) {
setState(() {
widget.visible = visible;
});
}