disabled property

bool get disabled

Implementation

bool get disabled {
  return switch (enabled) {
    final bool enabled => !enabled,
    _ => false,
  };
}