KeymapHub constructor

KeymapHub({
  1. List<ProgramInterceptor> base = const [],
  2. void onStackChanged()?,
  3. void onPendingChanged()?,
})

Creates a hub.

Implementation

KeymapHub({
  List<ProgramInterceptor> base = const [],
  this.onStackChanged,
  this.onPendingChanged,
}) : _base = List<ProgramInterceptor>.of(base);