TuiKey constructor

const TuiKey(
  1. TuiKeyType type, {
  2. String? character,
})

Creates a key of the given type with an optional character.

Implementation

const TuiKey(this.type, {this.character});