-
-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement command bars and dynamic overflow layout #232
Commits on Mar 19, 2022
-
Additional TreeView scrolling properties
* Need to be able to control whether TreeView uses the primary ScrollController or uses a custom scroll controller * If TreeView has shrinkWrap set, then do not use the primary scroll controller These changes are needed so that if a parent ListView contains a TreeView and the ListView has a custom scroll controller, then we can avoid using the primary scroll controller and avoid exceptions like "The provided ScrollController is currently attached to more than one ScrollPosition".
Configuration menu - View commit details
-
Copy full SHA for 23b7932 - Browse repository at this point
Copy the full SHA 23b7932View commit details -
A variant of SingleChildScrollView that provides horizontal scrolling via the mouse wheel. This is needed due to changes in Flutter 2.5, where the mouse can no longer be used to drag and scroll horizontally on web/desktop platforms. https://docs.flutter.dev/release/breaking-changes/default-scroll-behavior-drag
Configuration menu - View commit details
-
Copy full SHA for f5afb7c - Browse repository at this point
Copy the full SHA f5afb7cView commit details -
Basic CommandBar widget with examples
A `CommandBar` control provides quick access to common tasks. This could be application-level or page-level commands. See https://docs.microsoft.com/en-us/windows/apps/design/controls/command-bar The current implementation does not implement the open/closed state, nor does it implement the secondary commands "more" button with dynamic overflow of items into the secondary commands menu.
Configuration menu - View commit details
-
Copy full SHA for 489b464 - Browse repository at this point
Copy the full SHA 489b464View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ccb2ef - Browse repository at this point
Copy the full SHA 7ccb2efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8daac62 - Browse repository at this point
Copy the full SHA 8daac62View commit details -
Also changed cross-axis alignment for items within a CommandBar to be center-aligned. Needed so that items will be properly vertically aligned (including separators) if items are of different heights.
Configuration menu - View commit details
-
Copy full SHA for 8883cff - Browse repository at this point
Copy the full SHA 8883cffView commit details -
Add primary area to CommandBar with auto-compact
* A CommandBar now takes a list of primary and secondary command bar items. The secondary command bar items do not yet appear anywhere. * The primary command bar items are intended to be displayed on the horizontal area of the command bar. * Conceptually similar to PaneItem, CommandBarItem is now given a "display mode" when building the widget. The display mode indicates if the item is being rendered on the primary (horizontal) area (and if it should display in "compact" mode) or the secondary (flyout menu when "more" button is pushed) area. * A CommandBar can be given a `compcatBreakpointWidth` that indicates that if the widget is rendered with a smaller width, then it should render all of the items on the primary area in "compact" mode. * Foundation is laid for supporting the secondary area and an overflow behavior mode of "dynamic", but is not yet implemented.
Configuration menu - View commit details
-
Copy full SHA for 7c93f28 - Browse repository at this point
Copy the full SHA 7c93f28View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0dee4c - Browse repository at this point
Copy the full SHA d0dee4cView commit details
Commits on Mar 20, 2022
-
Similar to Wrap, but only displays widgets on a single run, and then hides widgets that would have overflown. If widgets are hidden, then it will display the specified "overflow widget". This is useful to implement the dynamic overflow mode of command bars. It could also be useful if a vertical nav bar wanted to implement a "more" button instead of vertical scrolling.
Configuration menu - View commit details
-
Copy full SHA for 7aa468b - Browse repository at this point
Copy the full SHA 7aa468bView commit details -
Dynamic overflow mode for command bars
Also add mainAxisAlignment and crossAxisAlignment fields
Configuration menu - View commit details
-
Copy full SHA for ca437e8 - Browse repository at this point
Copy the full SHA ca437e8View commit details -
Additional command bar examples
* Illustrates right-alignment and dynamic overflow modes. * Moves command bar examples into a new navbar pane to avoid clutter.
Configuration menu - View commit details
-
Copy full SHA for 704d7ad - Browse repository at this point
Copy the full SHA 704d7adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 423f01f - Browse repository at this point
Copy the full SHA 423f01fView commit details
Commits on Mar 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for be423e8 - Browse repository at this point
Copy the full SHA be423e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8265832 - Browse repository at this point
Copy the full SHA 8265832View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e44030 - Browse repository at this point
Copy the full SHA 2e44030View commit details