EventModifierInit constructor

EventModifierInit({
  1. bool? ctrlKey,
  2. bool? shiftKey,
  3. bool? altKey,
  4. bool? metaKey,
  5. bool? modifierAltGraph,
  6. bool? modifierCapsLock,
  7. bool? modifierFn,
  8. bool? modifierFnLock,
  9. bool? modifierHyper,
  10. bool? modifierNumLock,
  11. bool? modifierScrollLock,
  12. bool? modifierSuper,
  13. bool? modifierSymbol,
  14. bool? modifierSymbolLock,
})

Implementation

factory EventModifierInit(
        {bool? ctrlKey,
        bool? shiftKey,
        bool? altKey,
        bool? metaKey,
        bool? modifierAltGraph,
        bool? modifierCapsLock,
        bool? modifierFn,
        bool? modifierFnLock,
        bool? modifierHyper,
        bool? modifierNumLock,
        bool? modifierScrollLock,
        bool? modifierSuper,
        bool? modifierSymbol,
        bool? modifierSymbolLock}) =>
    EventModifierInit._(
        ctrlKey: ctrlKey ?? false,
        shiftKey: shiftKey ?? false,
        altKey: altKey ?? false,
        metaKey: metaKey ?? false,
        modifierAltGraph: modifierAltGraph ?? false,
        modifierCapsLock: modifierCapsLock ?? false,
        modifierFn: modifierFn ?? false,
        modifierFnLock: modifierFnLock ?? false,
        modifierHyper: modifierHyper ?? false,
        modifierNumLock: modifierNumLock ?? false,
        modifierScrollLock: modifierScrollLock ?? false,
        modifierSuper: modifierSuper ?? false,
        modifierSymbol: modifierSymbol ?? false,
        modifierSymbolLock: modifierSymbolLock ?? false);