File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1+ ## [ 2.1.8]
2+ ### 🛠️ Fixed 🛠️
3+ * Fixed ` shownByDefault ` not being respected for the left sidebar of the ` MacosWindow ` (thanks, [ @ShayperCool ] ( https://github.com/ShayperCool ) ).
4+
15## [ 2.1.7]
26### 🔄 Updated 🔄
37* Expose ` WindowMainStateListener ` and implement ` overrideIsMainWindow ` method to allow for the window’s main state to be overridden.
2832 * pubspec.yaml allows Flutter SDK version 1.9.x, which does not support the flutter.plugin.platforms key.
2933 Please consider increasing the Flutter SDK requirement to ^1.10.0 (environment.sdk.flutter)
3034 ```
31-
3235## [ 2.1.1]
3336* Fixed a bug where ` MacosPulldownMenuItem ` would not show an alert dialog when tapped.
3437
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ packages:
182182 path: ".."
183183 relative: true
184184 source: path
185- version: "2.1.4 "
185+ version: "2.1.8 "
186186 macos_window_utils:
187187 dependency: transitive
188188 description:
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ class _MacosWindowState extends State<MacosWindow> {
9292 double _endSidebarWidth = 0.0 ;
9393 double _endSidebarDragStartWidth = 0.0 ;
9494 double _endSidebarDragStartPosition = 0.0 ;
95- bool _showSidebar = true ;
95+ late bool _showSidebar = widget.sidebar ? .shownByDefault ?? true ;
9696 late bool _showEndSidebar = widget.endSidebar? .shownByDefault ?? false ;
9797 int _sidebarSlideDuration = 0 ;
9898 SystemMouseCursor _sidebarCursor = SystemMouseCursors .resizeColumn;
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.1.7
3+ version : 2.1.8
44homepage : " https://macosui.dev"
55repository : " https://github.com/GroovinChip/macos_ui"
66
You can’t perform that action at this time.
0 commit comments