Skip to content

Command Bar Updates#1174

Merged
bdlukaa merged 16 commits intomasterfrom
command-bar
Jan 30, 2025
Merged

Command Bar Updates#1174
bdlukaa merged 16 commits intomasterfrom
command-bar

Conversation

@bdlukaa
Copy link
Owner

@bdlukaa bdlukaa commented Jan 30, 2025

  • feat: Added CommandBarButton.closeAfterClick (Fixes Close Flyout after click CommandBarButton #1149)
  • feat: Added FlyoutController.showFlyout.buildTarget (Fixes Possibility for Flyout Target to be tappable when flyout is shown #1173)
    Primary items of the command bar are now accessible through the secondary flyout.
  • fix: CommandBar secondary menu preferred placement mode
  • feat: Added FlyoutController.close
  • feat: CommandBarState is now accessible, making it possible to open/close the secondary flyout
    final commandBarKey = GlobalKey<CommandBarState>();
    
    CommandBar(
      key: commandBarKey, 
      ...,
    ),
    
    commandBarKey.currentState?.toggleSecondaryMenu();
    commandBarKey.currentState?.secondaryFlyoutController.close();

Pre-launch Checklist

  • I have updated CHANGELOG.md with my changes
  • I have run "dart format ." on the project
  • I have added/updated relevant documentation

@bdlukaa bdlukaa merged commit d6a5dbe into master Jan 30, 2025
3 checks passed
@bdlukaa bdlukaa deleted the command-bar branch January 31, 2025 19:53
@bdlukaa bdlukaa mentioned this pull request Feb 1, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possibility for Flyout Target to be tappable when flyout is shown Close Flyout after click CommandBarButton

1 participant