KeyboardSwitch constructor

const KeyboardSwitch({
  1. Key? key,
  2. Widget? open,
  3. Widget? closed,
})

Renders open when the keyboard is open, and closed when it is closed. Both are optional, and a missing slot renders nothing.

Implementation

const KeyboardSwitch({super.key, this.open, this.closed}) : builder = null;