Skip to content

Commit

Permalink
Update interactive_mix_state.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
tilucasoli committed Jan 21, 2025
1 parent 10083ca commit 3a8a874
Showing 1 changed file with 15 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,21 @@ class _InteractiveStateBuilderState extends State<InteractiveMixStateWidget> {

@override
Widget build(BuildContext context) {
return FocusableActionDetector(
enabled: widget.enabled,
focusNode: widget.focusNode,
autofocus: widget.autofocus,
shortcuts: widget.shortcuts,
actions: widget.actions,
onShowFocusHighlight: _onShowFocusHighlight,
onShowHoverHighlight: _onShowHoverHighlight,
onFocusChange: widget.onFocusChange,
mouseCursor: widget.mouseCursor,
includeFocusSemantics: false,
child: widget.child,
return ExcludeFocus(
excluding: !widget.canRequestFocus,
child: FocusableActionDetector(
enabled: widget.enabled,
focusNode: widget.focusNode,
autofocus: widget.autofocus,
shortcuts: widget.shortcuts,
actions: widget.actions,
onShowFocusHighlight: _onShowFocusHighlight,
onShowHoverHighlight: _onShowHoverHighlight,
onFocusChange: widget.onFocusChange,
mouseCursor: widget.mouseCursor,
includeFocusSemantics: false,
child: widget.child,
),
);
}
}

0 comments on commit 3a8a874

Please sign in to comment.