discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

withEnabled method

ShellCommand withEnabled(
  1. ValueListenable<bool> enabled
)

The same command, enabled only while enabled is.

Implementation

ShellCommand withEnabled(ValueListenable<bool> enabled) => ShellCommand(
    id: id,
    label: label,
    icon: icon,
    shortcuts: shortcuts,
    enabled: enabled,
    run: run);