maximizable property

bool get maximizable

Whether the window can be maximized.

Implementation

bool get maximizable => value.maximizable;
set maximizable (bool value)

Sets whether the window can be maximized.

When false, the maximize button is disabled or hidden.

Implementation

set maximizable(bool value) {
  if (value == maximizable) return;
  this.value = this.value.copyWith(maximizable: () => value);
}