attach method

FocusAttachment attach(
  1. BuildContext? context, {
  2. FocusOnKeyEventCallback? onKeyEvent,
})

Implementation

FocusAttachment attach(BuildContext? context,
        {FocusOnKeyEventCallback? onKeyEvent}) =>
    focusScope.attach(context, onKeyEvent: onKeyEvent);