Widget disabled(bool disable) { return IgnorePointer( child: this.withOpacity(disable ? 0.3 : 1.0), ignoring: disable, ); }