disable method

void disable()

Implementation

void disable() {
  setState(mounted, this.setState, () {
    _enabled = false;
  });
}