File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1- ## [ 2.0.0-beta.4 ]
1+ ## [ 2.0.0-beta.5 ]
22🚨 Breaking Changes 🚨
33* ` PushButton ` has been updated to support the ` ControlSize ` enum.
44 * The ` buttonSize ` property has been changed to ` controlSize ` .
88🔄 Updated 🔄
99* ` PushButton ` 's secondary and disabled colors more closely match their native counterparts.
1010
11+ ## [ 2.0.0-beta.4]
12+ 🛠️ Fixed 🛠️
13+ * ` ToolBar ` s in use where a ` SideBar ` is not present will now have their title's avoid the traffic lights (native window controls).
14+
1115## [ 2.0.0-beta.3]
1216✨ New ✨
1317* Added support for ` weekdayAbbreviations ` and ` monthAbbreviations ` to ` MacosDatePicker ` .
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ packages:
9797 path: ".."
9898 relative: true
9999 source: path
100- version: "2.0.0-beta.4 "
100+ version: "2.0.0-beta.5 "
101101 macos_window_utils:
102102 dependency: transitive
103103 description:
Original file line number Diff line number Diff line change @@ -226,8 +226,10 @@ class _MacosWindowState extends State<MacosWindow> {
226226 final height = constraints.maxHeight;
227227 final isAtBreakpoint = width <= (sidebar? .windowBreakpoint ?? 0 );
228228 final isAtEndBreakpoint = width <= (endSidebar? .windowBreakpoint ?? 0 );
229- final canShowSidebar = _showSidebar && ! isAtBreakpoint;
230- final canShowEndSidebar = _showEndSidebar && ! isAtEndBreakpoint;
229+ final canShowSidebar =
230+ _showSidebar && ! isAtBreakpoint && sidebar != null ;
231+ final canShowEndSidebar =
232+ _showEndSidebar && ! isAtEndBreakpoint && endSidebar != null ;
231233 final visibleSidebarWidth = canShowSidebar ? _sidebarWidth : 0.0 ;
232234 final visibleEndSidebarWidth =
233235 canShowEndSidebar ? _endSidebarWidth : 0.0 ;
Original file line number Diff line number Diff line change 11name : macos_ui
22description : Flutter widgets and themes implementing the current macOS design language.
3- version : 2.0.0-beta.4
3+ version : 2.0.0-beta.5
44homepage : " https://macosui.dev"
55repository : " https://github.com/GroovinChip/macos_ui"
66
You can’t perform that action at this time.
0 commit comments