setIsComplex method

void setIsComplex(
  1. bool value
)

Updates the isComplex property and triggers a rebuild. This does not rebuild the child widget.

value - The new value for isComplex.

Implementation

void setIsComplex(bool value) {
  setState(() {
    isComplex = value;
  });
}