KeyboardSwitch.builder constructor

const KeyboardSwitch.builder(
  1. Widget builder(
    1. BuildContext context,
    2. bool isOpen
    )?, {
  2. Key? key,
})

Renders the widget returned by builder, which receives the current isOpen state of the keyboard.

Implementation

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