Skip to content

Commit

Permalink
Version 2.0.0 (#463)
Browse files Browse the repository at this point in the history
* chore: account for latest Flutter:master

* fix(example): incorrect variable usage

* Version 1.11.1 (#366)

* Version 1.7.1 (#287)

* Sidebar top (#244)

* chore: refactor dir structure

* feat: Sidebar top & updated default control color

* feat(example): search results in top

* chore: bump version, changelog

* chore: run flutter pub upgrade

* Update CHANGELOG.md

* Update lib/src/layout/sidebar/sidebar.dart

Co-authored-by: Minas Giannekas <[email protected]>

* chore: update issue templates

* chore: update pr_prelaunch script

* Flutter 3 upgrade & MacosColor update (#248)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* chore: remove unused code

* Starter app (#251)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* feat: first pass at starter app brick

* chore: improve starter app brick

* chore: fix widget test in starter app

* feat: conditional prompts & running pub get

* chore: finalize brick

* chore: run flutter format

* chore: exclude starter app from analyzer

* Full screen opaque toolbar issue (closes #249) (#252)

* fix: don't show app window toolbar when in full screen

* chore: update README

* chore: update brick app window code

* chore: update pubspec and changelog

* chore: update actions

Co-authored-by: Reuben Turner <[email protected]>

* Version 1.4.1 (#255)

* Sidebar top (#244)

* chore: refactor dir structure

* feat: Sidebar top & updated default control color

* feat(example): search results in top

* chore: bump version, changelog

* chore: run flutter pub upgrade

* Update CHANGELOG.md

* Update lib/src/layout/sidebar/sidebar.dart

Co-authored-by: Minas Giannekas <[email protected]>

* chore: update issue templates

* chore: update pr_prelaunch script

* Flutter 3 upgrade & MacosColor update (#248)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* chore: remove unused code

* Starter app (#251)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* feat: first pass at starter app brick

* chore: improve starter app brick

* chore: fix widget test in starter app

* feat: conditional prompts & running pub get

* chore: finalize brick

* chore: run flutter format

* chore: exclude starter app from analyzer

* Full screen opaque toolbar issue (closes #249) (#252)

* fix: don't show app window toolbar when in full screen

* chore: update README

* chore: update brick app window code

* chore: update pubspec and changelog

* chore: update actions

Co-authored-by: Reuben Turner <[email protected]>

Co-authored-by: Minas Giannekas <[email protected]>

* chore: repository, homepage fields

* chore: update readme

* feat(starter_app): Version 1.1.0

* feat(starter_app): multi-window support

* feat: starter_app 1.2.1

* chore: move brick to its own repo & go back to old pana action

* Expand remaining part of row in MacosListTile (#265)

* Expand remaining part of row https://github.com/GroovinChip/macos_ui/issues/264

* Increment to version 1.4.2

* End sidebar (#267)

* chore: add missing trailing comma

* chore: improve MacosIconButton animation curve

* chore: remove false_secrets from pubspec.yaml

* feat: end sidebar

Also fixes the tests portion of the pr_prelaunch_tasks script

* feat: add "isEndSidebarShown" to MacosWindowScope

* fix: Correct the placement of the leading widget in disclosure sidebar items (#272)

* chore: Update changelog

* test: fix issues with date_picker_test

* Account for cases where the month and the day are the same
* Fix offstage warnings by removing tester taps that disabled the caret controls

* Update Actions (#279)

* Update flutter_analysis.yml

* Update dart_code_metrics.yaml

* Update gh_pages.yml

* Update pana_analysis.yml

* Update codecov.yaml

* fix syntax issue

* Version 1.6.0 - `MacosTabView` & `MacosSegmentedControl` (#273)

* feat: MacosTabView & MacosSegmentedControl

* chore: fixup scripts

* test: tests for segmented control & tab view

* chore: remove unused code

* chore: run flutter format .

* chore: bump code metrics

* docs: dartdoc updates

* docs: fix a documentation error

* chore: run flutter format .

* refactor: make active property of MacosTab optional, since it is handled via MacosSegmentedControl

* chore: fix import change

* refactor: change colors to match default native app design

* docs: update tab view screenshot in readme

* chore: update README example for MacosTabView

* chore: fix typo in MacosSegmentedControl

* chore: fix typo in MacosSegmentedControl docstring

* test: remove explicitly setting active property of MacosTabs

Co-authored-by: Minas Giannekas <[email protected]>

* Version 1.7.0: `MacosImageIcon` & sidebar updates (#274)

* feat: MacosTabView & MacosSegmentedControl

* chore: fixup scripts

* test: tests for segmented control & tab view

* chore: remove unused code

* chore: run flutter format .

* chore: bump code metrics

* docs: dartdoc updates

* docs: fix a documentation error

* chore: run flutter format .

* feat: MacosImageIcon & sidebar updates

* test: fix issues with date_picker_test

* Account for cases where the month and the day are the same
* Fix offstage warnings by removing tester taps that disabled the caret controls

* refactor: make active property of MacosTab optional, since it is handled via MacosSegmentedControl

* chore: fix import change

* refactor: change colors to match default native app design

* docs: update tab view screenshot in readme

* chore: fix README

* test: fix date picker test

Co-authored-by: Minas Giannekas <[email protected]>

* chore: fix typo in pr template

* feat: gh action to auto-generate releases on push to stable

* chore: update release action with latest from stable

* feat: add action to publish to pub

* docs: update readme

* Addresses #237
* Adds MacosColorWell to selectors section
* Adds code snippets for date & time pickers

* fix: 1.7.1

Fixes issue where end sidebar window breakpoint wasn’t being respected

Co-authored-by: Minas Giannekas <[email protected]>
Co-authored-by: Jon Saw <[email protected]>
Co-authored-by: Minas Giannekas <[email protected]>

* Version 1.7.3 (#293)

* Version 1.7.4 (#295)

* Sidebar top (#244)

* chore: refactor dir structure

* feat: Sidebar top & updated default control color

* feat(example): search results in top

* chore: bump version, changelog

* chore: run flutter pub upgrade

* Update CHANGELOG.md

* Update lib/src/layout/sidebar/sidebar.dart

Co-authored-by: Minas Giannekas <[email protected]>

* chore: update issue templates

* chore: update pr_prelaunch script

* Flutter 3 upgrade & MacosColor update (#248)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* chore: remove unused code

* Starter app (#251)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* feat: first pass at starter app brick

* chore: improve starter app brick

* chore: fix widget test in starter app

* feat: conditional prompts & running pub get

* chore: finalize brick

* chore: run flutter format

* chore: exclude starter app from analyzer

* Full screen opaque toolbar issue (closes #249) (#252)

* fix: don't show app window toolbar when in full screen

* chore: update README

* chore: update brick app window code

* chore: update pubspec and changelog

* chore: update actions

Co-authored-by: Reuben Turner <[email protected]>

* Version 1.4.1 (#255)

* Sidebar top (#244)

* chore: refactor dir structure

* feat: Sidebar top & updated default control color

* feat(example): search results in top

* chore: bump version, changelog

* chore: run flutter pub upgrade

* Update CHANGELOG.md

* Update lib/src/layout/sidebar/sidebar.dart

Co-authored-by: Minas Giannekas <[email protected]>

* chore: update issue templates

* chore: update pr_prelaunch script

* Flutter 3 upgrade & MacosColor update (#248)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* chore: remove unused code

* Starter app (#251)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* feat: first pass at starter app brick

* chore: improve starter app brick

* chore: fix widget test in starter app

* feat: conditional prompts & running pub get

* chore: finalize brick

* chore: run flutter format

* chore: exclude starter app from analyzer

* Full screen opaque toolbar issue (closes #249) (#252)

* fix: don't show app window toolbar when in full screen

* chore: update README

* chore: update brick app window code

* chore: update pubspec and changelog

* chore: update actions

Co-authored-by: Reuben Turner <[email protected]>

Co-authored-by: Minas Giannekas <[email protected]>

* chore: repository, homepage fields

* chore: update readme

* feat(starter_app): Version 1.1.0

* feat(starter_app): multi-window support

* feat: starter_app 1.2.1

* chore: move brick to its own repo & go back to old pana action

* Expand remaining part of row in MacosListTile (#265)

* Expand remaining part of row https://github.com/GroovinChip/macos_ui/issues/264

* Increment to version 1.4.2

* End sidebar (#267)

* chore: add missing trailing comma

* chore: improve MacosIconButton animation curve

* chore: remove false_secrets from pubspec.yaml

* feat: end sidebar

Also fixes the tests portion of the pr_prelaunch_tasks script

* feat: add "isEndSidebarShown" to MacosWindowScope

* fix: Correct the placement of the leading widget in disclosure sidebar items (#272)

* chore: Update changelog

* test: fix issues with date_picker_test

* Account for cases where the month and the day are the same
* Fix offstage warnings by removing tester taps that disabled the caret controls

* Update Actions (#279)

* Update flutter_analysis.yml

* Update dart_code_metrics.yaml

* Update gh_pages.yml

* Update pana_analysis.yml

* Update codecov.yaml

* fix syntax issue

* Version 1.6.0 - `MacosTabView` & `MacosSegmentedControl` (#273)

* feat: MacosTabView & MacosSegmentedControl

* chore: fixup scripts

* test: tests for segmented control & tab view

* chore: remove unused code

* chore: run flutter format .

* chore: bump code metrics

* docs: dartdoc updates

* docs: fix a documentation error

* chore: run flutter format .

* refactor: make active property of MacosTab optional, since it is handled via MacosSegmentedControl

* chore: fix import change

* refactor: change colors to match default native app design

* docs: update tab view screenshot in readme

* chore: update README example for MacosTabView

* chore: fix typo in MacosSegmentedControl

* chore: fix typo in MacosSegmentedControl docstring

* test: remove explicitly setting active property of MacosTabs

Co-authored-by: Minas Giannekas <[email protected]>

* Version 1.7.0: `MacosImageIcon` & sidebar updates (#274)

* feat: MacosTabView & MacosSegmentedControl

* chore: fixup scripts

* test: tests for segmented control & tab view

* chore: remove unused code

* chore: run flutter format .

* chore: bump code metrics

* docs: dartdoc updates

* docs: fix a documentation error

* chore: run flutter format .

* feat: MacosImageIcon & sidebar updates

* test: fix issues with date_picker_test

* Account for cases where the month and the day are the same
* Fix offstage warnings by removing tester taps that disabled the caret controls

* refactor: make active property of MacosTab optional, since it is handled via MacosSegmentedControl

* chore: fix import change

* refactor: change colors to match default native app design

* docs: update tab view screenshot in readme

* chore: fix README

* test: fix date picker test

Co-authored-by: Minas Giannekas <[email protected]>

* chore: fix typo in pr template

* feat: gh action to auto-generate releases on push to stable

* chore: update release action with latest from stable

* feat: add action to publish to pub

* docs: update readme

* Addresses #237
* Adds MacosColorWell to selectors section
* Adds code snippets for date & time pickers

* fix: 1.7.1

Fixes issue where end sidebar window breakpoint wasn’t being respected

* Tab view padding (#285)

* fix: use prepared title wrapped with a DefaultTextStyle instead of the raw title (#289)

* chore: fix typo

Closes #290

* feat: add `backgroundColor` to `MacosSheet` (#291)

Co-authored-by: Minas Giannekas <[email protected]>
Co-authored-by: Jon Saw <[email protected]>
Co-authored-by: Minas Giannekas <[email protected]>
Co-authored-by: st merlhin <[email protected]>
Co-authored-by: jtdLab <[email protected]>

* Version 1.7.5 (#299)

* chore: fix Flutter 3.3 warnings

* Version 1.7.6 (#327)

* Sidebar top (#244)

* chore: refactor dir structure

* feat: Sidebar top & updated default control color

* feat(example): search results in top

* chore: bump version, changelog

* chore: run flutter pub upgrade

* Update CHANGELOG.md

* Update lib/src/layout/sidebar/sidebar.dart

Co-authored-by: Minas Giannekas <[email protected]>

* chore: update issue templates

* chore: update pr_prelaunch script

* Flutter 3 upgrade & MacosColor update (#248)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* chore: remove unused code

* Starter app (#251)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* feat: first pass at starter app brick

* chore: improve starter app brick

* chore: fix widget test in starter app

* feat: conditional prompts & running pub get

* chore: finalize brick

* chore: run flutter format

* chore: exclude starter app from analyzer

* Full screen opaque toolbar issue (closes #249) (#252)

* fix: don't show app window toolbar when in full screen

* chore: update README

* chore: update brick app window code

* chore: update pubspec and changelog

* chore: update actions

Co-authored-by: Reuben Turner <[email protected]>

* Version 1.4.1 (#255)

* Sidebar top (#244)

* chore: refactor dir structure

* feat: Sidebar top & updated default control color

* feat(example): search results in top

* chore: bump version, changelog

* chore: run flutter pub upgrade

* Update CHANGELOG.md

* Update lib/src/layout/sidebar/sidebar.dart

Co-authored-by: Minas Giannekas <[email protected]>

* chore: update issue templates

* chore: update pr_prelaunch script

* Flutter 3 upgrade & MacosColor update (#248)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* chore: remove unused code

* Starter app (#251)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* feat: first pass at starter app brick

* chore: improve starter app brick

* chore: fix widget test in starter app

* feat: conditional prompts & running pub get

* chore: finalize brick

* chore: run flutter format

* chore: exclude starter app from analyzer

* Full screen opaque toolbar issue (closes #249) (#252)

* fix: don't show app window toolbar when in full screen

* chore: update README

* chore: update brick app window code

* chore: update pubspec and changelog

* chore: update actions

Co-authored-by: Reuben Turner <[email protected]>

Co-authored-by: Minas Giannekas <[email protected]>

* chore: repository, homepage fields

* chore: update readme

* feat(starter_app): Version 1.1.0

* feat(starter_app): multi-window support

* feat: starter_app 1.2.1

* chore: move brick to its own repo & go back to old pana action

* Expand remaining part of row in MacosListTile (#265)

* Expand remaining part of row https://github.com/GroovinChip/macos_ui/issues/264

* Increment to version 1.4.2

* End sidebar (#267)

* chore: add missing trailing comma

* chore: improve MacosIconButton animation curve

* chore: remove false_secrets from pubspec.yaml

* feat: end sidebar

Also fixes the tests portion of the pr_prelaunch_tasks script

* feat: add "isEndSidebarShown" to MacosWindowScope

* fix: Correct the placement of the leading widget in disclosure sidebar items (#272)

* chore: Update changelog

* test: fix issues with date_picker_test

* Account for cases where the month and the day are the same
* Fix offstage warnings by removing tester taps that disabled the caret controls

* Update Actions (#279)

* Update flutter_analysis.yml

* Update dart_code_metrics.yaml

* Update gh_pages.yml

* Update pana_analysis.yml

* Update codecov.yaml

* fix syntax issue

* Version 1.6.0 - `MacosTabView` & `MacosSegmentedControl` (#273)

* feat: MacosTabView & MacosSegmentedControl

* chore: fixup scripts

* test: tests for segmented control & tab view

* chore: remove unused code

* chore: run flutter format .

* chore: bump code metrics

* docs: dartdoc updates

* docs: fix a documentation error

* chore: run flutter format .

* refactor: make active property of MacosTab optional, since it is handled via MacosSegmentedControl

* chore: fix import change

* refactor: change colors to match default native app design

* docs: update tab view screenshot in readme

* chore: update README example for MacosTabView

* chore: fix typo in MacosSegmentedControl

* chore: fix typo in MacosSegmentedControl docstring

* test: remove explicitly setting active property of MacosTabs

Co-authored-by: Minas Giannekas <[email protected]>

* Version 1.7.0: `MacosImageIcon` & sidebar updates (#274)

* feat: MacosTabView & MacosSegmentedControl

* chore: fixup scripts

* test: tests for segmented control & tab view

* chore: remove unused code

* chore: run flutter format .

* chore: bump code metrics

* docs: dartdoc updates

* docs: fix a documentation error

* chore: run flutter format .

* feat: MacosImageIcon & sidebar updates

* test: fix issues with date_picker_test

* Account for cases where the month and the day are the same
* Fix offstage warnings by removing tester taps that disabled the caret controls

* refactor: make active property of MacosTab optional, since it is handled via MacosSegmentedControl

* chore: fix import change

* refactor: change colors to match default native app design

* docs: update tab view screenshot in readme

* chore: fix README

* test: fix date picker test

Co-authored-by: Minas Giannekas <[email protected]>

* chore: fix typo in pr template

* feat: gh action to auto-generate releases on push to stable

* chore: update release action with latest from stable

* feat: add action to publish to pub

* docs: update readme

* Addresses #237
* Adds MacosColorWell to selectors section
* Adds code snippets for date & time pickers

* fix: 1.7.1

Fixes issue where end sidebar window breakpoint wasn’t being respected

* Tab view padding (#285)

* fix: use prepared title wrapped with a DefaultTextStyle instead of the raw title (#289)

* chore: fix typo

Closes #290

* feat: add `backgroundColor` to `MacosSheet` (#291)

* chore: fix Flutter 3.3 warnings

* fix: address ScrollController bug in MacosPopupButton (#300)

* fix(tests): account for Jan -> Dec & Dec -> Jan

date_picker_test.dart was failing due to not accounting for going from January to December and vice-versa.

Co-authored-by: Minas Giannekas <[email protected]>
Co-authored-by: Jon Saw <[email protected]>
Co-authored-by: Minas Giannekas <[email protected]>
Co-authored-by: st merlhin <[email protected]>
Co-authored-by: jtdLab <[email protected]>

* Version 1.9.0 (#339)

* Sidebar top (#244)

* chore: refactor dir structure

* feat: Sidebar top & updated default control color

* feat(example): search results in top

* chore: bump version, changelog

* chore: run flutter pub upgrade

* Update CHANGELOG.md

* Update lib/src/layout/sidebar/sidebar.dart

Co-authored-by: Minas Giannekas <[email protected]>

* chore: update issue templates

* chore: update pr_prelaunch script

* Flutter 3 upgrade & MacosColor update (#248)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* chore: remove unused code

* Starter app (#251)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* feat: first pass at starter app brick

* chore: improve starter app brick

* chore: fix widget test in starter app

* feat: conditional prompts & running pub get

* chore: finalize brick

* chore: run flutter format

* chore: exclude starter app from analyzer

* Full screen opaque toolbar issue (closes #249) (#252)

* fix: don't show app window toolbar when in full screen

* chore: update README

* chore: update brick app window code

* chore: update pubspec and changelog

* chore: update actions

Co-authored-by: Reuben Turner <[email protected]>

* Version 1.4.1 (#255)

* Sidebar top (#244)

* chore: refactor dir structure

* feat: Sidebar top & updated default control color

* feat(example): search results in top

* chore: bump version, changelog

* chore: run flutter pub upgrade

* Update CHANGELOG.md

* Update lib/src/layout/sidebar/sidebar.dart

Co-authored-by: Minas Giannekas <[email protected]>

* chore: update issue templates

* chore: update pr_prelaunch script

* Flutter 3 upgrade & MacosColor update (#248)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* chore: remove unused code

* Starter app (#251)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* feat: first pass at starter app brick

* chore: improve starter app brick

* chore: fix widget test in starter app

* feat: conditional prompts & running pub get

* chore: finalize brick

* chore: run flutter format

* chore: exclude starter app from analyzer

* Full screen opaque toolbar issue (closes #249) (#252)

* fix: don't show app window toolbar when in full screen

* chore: update README

* chore: update brick app window code

* chore: update pubspec and changelog

* chore: update actions

Co-authored-by: Reuben Turner <[email protected]>

Co-authored-by: Minas Giannekas <[email protected]>

* chore: repository, homepage fields

* chore: update readme

* feat(starter_app): Version 1.1.0

* feat(starter_app): multi-window support

* feat: starter_app 1.2.1

* chore: move brick to its own repo & go back to old pana action

* Expand remaining part of row in MacosListTile (#265)

* Expand remaining part of row https://github.com/GroovinChip/macos_ui/issues/264

* Increment to version 1.4.2

* End sidebar (#267)

* chore: add missing trailing comma

* chore: improve MacosIconButton animation curve

* chore: remove false_secrets from pubspec.yaml

* feat: end sidebar

Also fixes the tests portion of the pr_prelaunch_tasks script

* feat: add "isEndSidebarShown" to MacosWindowScope

* fix: Correct the placement of the leading widget in disclosure sidebar items (#272)

* chore: Update changelog

* test: fix issues with date_picker_test

* Account for cases where the month and the day are the same
* Fix offstage warnings by removing tester taps that disabled the caret controls

* Update Actions (#279)

* Update flutter_analysis.yml

* Update dart_code_metrics.yaml

* Update gh_pages.yml

* Update pana_analysis.yml

* Update codecov.yaml

* fix syntax issue

* Version 1.6.0 - `MacosTabView` & `MacosSegmentedControl` (#273)

* feat: MacosTabView & MacosSegmentedControl

* chore: fixup scripts

* test: tests for segmented control & tab view

* chore: remove unused code

* chore: run flutter format .

* chore: bump code metrics

* docs: dartdoc updates

* docs: fix a documentation error

* chore: run flutter format .

* refactor: make active property of MacosTab optional, since it is handled via MacosSegmentedControl

* chore: fix import change

* refactor: change colors to match default native app design

* docs: update tab view screenshot in readme

* chore: update README example for MacosTabView

* chore: fix typo in MacosSegmentedControl

* chore: fix typo in MacosSegmentedControl docstring

* test: remove explicitly setting active property of MacosTabs

Co-authored-by: Minas Giannekas <[email protected]>

* Version 1.7.0: `MacosImageIcon` & sidebar updates (#274)

* feat: MacosTabView & MacosSegmentedControl

* chore: fixup scripts

* test: tests for segmented control & tab view

* chore: remove unused code

* chore: run flutter format .

* chore: bump code metrics

* docs: dartdoc updates

* docs: fix a documentation error

* chore: run flutter format .

* feat: MacosImageIcon & sidebar updates

* test: fix issues with date_picker_test

* Account for cases where the month and the day are the same
* Fix offstage warnings by removing tester taps that disabled the caret controls

* refactor: make active property of MacosTab optional, since it is handled via MacosSegmentedControl

* chore: fix import change

* refactor: change colors to match default native app design

* docs: update tab view screenshot in readme

* chore: fix README

* test: fix date picker test

Co-authored-by: Minas Giannekas <[email protected]>

* chore: fix typo in pr template

* feat: gh action to auto-generate releases on push to stable

* chore: update release action with latest from stable

* feat: add action to publish to pub

* docs: update readme

* Addresses #237
* Adds MacosColorWell to selectors section
* Adds code snippets for date & time pickers

* fix: 1.7.1

Fixes issue where end sidebar window breakpoint wasn’t being respected

* Tab view padding (#285)

* fix: use prepared title wrapped with a DefaultTextStyle instead of the raw title (#289)

* chore: fix typo

Closes #290

* feat: add `backgroundColor` to `MacosSheet` (#291)

* chore: fix Flutter 3.3 warnings

* fix: address ScrollController bug in MacosPopupButton (#300)

* fix(tests): account for Jan -> Dec & Dec -> Jan

date_picker_test.dart was failing due to not accounting for going from January to December and vice-versa.

* fix(plugin): Ensure the native color panel releases when closed

* Update flutter_analysis.yml

Closes #334

* Various bug fixes & minor updates (#338)

* Macos slider (#337)

* chore: run flutter format .

* chore: fix analysis

* chore: Bump version and update CHANGELOG.md

* chore: Update images to self taken ones as MacOS images are outdated

* fix: fix position offset by a small value

* fix: PR review feedback

* Update lib/src/indicators/slider.dart

---------

Co-authored-by: Reuben Turner <[email protected]>

---------

Co-authored-by: Minas Giannekas <[email protected]>
Co-authored-by: Jon Saw <[email protected]>
Co-authored-by: Minas Giannekas <[email protected]>
Co-authored-by: st merlhin <[email protected]>
Co-authored-by: jtdLab <[email protected]>
Co-authored-by: Norbert Kozsir <[email protected]>

* Version 1.9.1 (#341)

* Sidebar top (#244)

* chore: refactor dir structure

* feat: Sidebar top & updated default control color

* feat(example): search results in top

* chore: bump version, changelog

* chore: run flutter pub upgrade

* Update CHANGELOG.md

* Update lib/src/layout/sidebar/sidebar.dart

Co-authored-by: Minas Giannekas <[email protected]>

* chore: update issue templates

* chore: update pr_prelaunch script

* Flutter 3 upgrade & MacosColor update (#248)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* chore: remove unused code

* Starter app (#251)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* feat: first pass at starter app brick

* chore: improve starter app brick

* chore: fix widget test in starter app

* feat: conditional prompts & running pub get

* chore: finalize brick

* chore: run flutter format

* chore: exclude starter app from analyzer

* Full screen opaque toolbar issue (closes #249) (#252)

* fix: don't show app window toolbar when in full screen

* chore: update README

* chore: update brick app window code

* chore: update pubspec and changelog

* chore: update actions

Co-authored-by: Reuben Turner <[email protected]>

* Version 1.4.1 (#255)

* Sidebar top (#244)

* chore: refactor dir structure

* feat: Sidebar top & updated default control color

* feat(example): search results in top

* chore: bump version, changelog

* chore: run flutter pub upgrade

* Update CHANGELOG.md

* Update lib/src/layout/sidebar/sidebar.dart

Co-authored-by: Minas Giannekas <[email protected]>

* chore: update issue templates

* chore: update pr_prelaunch script

* Flutter 3 upgrade & MacosColor update (#248)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* chore: remove unused code

* Starter app (#251)

* chore: Update pubspec.yaml files to support Flutter 3

* chore: run dart fix --apply

* chore: migrate Scrollbar to Flutter 3

* chore: update flutter_lints & subsequent fixes

* feat: add missing functions to MacosColor

the Color class has a number of functions that MacosColor had not implemented

* chore: use super parameters

* chore: update changelog

* chore: tweak example app

Uses the new PlatformMenuBar. Also update product name.

* chore: small changelog tweak

* chore: run flutter format .

* chore: run dart fix --apply

* chore: run flutter format .

* chore: remove unused code in example

* chore: remove unused import

* feat: first pass at starter app brick

* chore: improve starter app brick

* chore: fix widget test in starter app

* feat: conditional prompts & running pub get

* chore: finalize brick

* chore: run flutter format

* chore: exclude starter app from analyzer

* Full screen opaque toolbar issue (closes #249) (#252)

* fix: don't show app window toolbar when in full screen

* chore: update README

* chore: update brick app window code

* chore: update pubspec and changelog

* chore: update actions

Co-authored-by: Reuben Turner <[email protected]>

Co-authored-by: Minas Giannekas <[email protected]>

* chore: repository, homepage fields

* chore: update readme

* feat(starter_app): Version 1.1.0

* feat(starter_app): multi-window support

* feat: starter_app 1.2.1

* chore: move brick to its own repo & go back to old pana action

* Expand remaining part of row in MacosListTile (#265)

* Expand remaining part of row https://github.com/GroovinChip/macos_ui/issues/264

* Increment to version 1.4.2

* End sidebar (#267)

* chore: add missing trailing comma

* chore: improve MacosIconButton animation curve

* chore: remove false_secrets from pubspec.yaml

* feat: end sidebar

Also fixes the tests portion of the pr_prelaunch_tasks script

* feat: add "isEndSidebarShown" to MacosWindowScope

* fix: Correct the placement of the leading widget in disclosure sidebar items (#272)

* chore: Update changelog

* test: fix issues with date_picker_test

* Account for cases where the month and the day are the same
* Fix offstage warnings by removing tester taps that disabled the caret controls

* Update Actions (#279)

* Update flutter_analysis.yml

* Update dart_code_metrics.yaml

* Update gh_pages.yml

* Update pana_analysis.yml

* Update codecov.yaml

* fix syntax issue

* Version 1.6.0 - `MacosTabView` & `MacosSegmentedControl` (#273)

* feat: MacosTabView & MacosSegmentedControl

* chore: fixup scripts

* test: tests for segmented control & tab view

* chore: remove unused code

* chore: run flutter format .

* chore: bump code metrics

* docs: dartdoc updates

* docs: fix a documentation error

* chore: run flutter format .

* refactor: make active property of MacosTab optional, since it is handled via MacosSegmentedControl

* chore: fix import change

* refactor: change colors to match default native app design

* docs: update tab view screenshot in readme

* chore: update README example for MacosTabView

* chore: fix typo in MacosSegmentedControl

* chore: fix typo in MacosSegmentedControl docstring

* test: remove explicitly setting active property of MacosTabs

Co-authored-by: Minas Giannekas <[email protected]>

* Version 1.7.0: `MacosImageIcon` & sidebar updates (#274)

* feat: MacosTabView & MacosSegmentedControl

* chore: fixup scripts

* test: tests for segmented control & tab view

* chore: remove unused code

* chore: run flutter format .

* chore: bump code metrics

* docs: dartdoc updates

* docs: fix a documentation error

* chore: run flutter format .

* feat: MacosImageIcon & sidebar updates

* test: fix issues with date_picker_test

* Account for cases where the month and the day are the same
* Fix offstage warnings by removing tester taps that disabled the caret controls

* refactor: make active property of MacosTab optional, since it is handled via MacosSegmentedControl

* chore: fix import change

* refactor: change colors to match default native app design

* docs: update tab view screenshot in readme

* chore: fix README

* test: fix date picker test

Co-authored-by: Minas Giannekas <[email protected]>

* chore: fix typo in pr template

* feat: gh action to auto-generate releases on push to stable

* chore: update release action with latest from stable

* feat: add action to publish to pub

* docs: update readme

* Addresses #237
* Adds MacosColorWell to selectors section
* Adds code snippets for date & time pickers

* fix: 1.7.1

Fixes issue where end sidebar window breakpoint wasn’t being respected

* Tab view padding (#285)

* fix: use prepared title wrapped with a DefaultTextStyle instead of the raw title (#289)

* chore: fix typo

Closes #290

* feat: add `backgroundColor` to `MacosSheet` (#291)

* chore: fix Flutter 3.3 warnings

* fix: address ScrollController bug in MacosPopupButton (#300)

* fix(tests): account for Jan -> Dec & Dec -> Jan

date_picker_test.dart was failing due to not accounting for going from January to December and vice-versa.

* fix(plugin): Ensure the native color panel releases when closed

* Update flutter_analysis.yml

Closes #334

* Various bug fixes & minor updates (#338)

* Macos slider (#337)

* chore: run flutter format .

* chore: fix analysis

* chore: Bump version and update CHANGELOG.md

* chore: Update images to self taken ones as MacOS images are outdated

* fix: fix position offset by a small value

* fix: PR review feedback

* Update lib/src/indicators/slider.dart

---------

Co-authored-by: Reuben Turner <[email protected]>

* Adds `intialDate` to `MacosDatePicker` (#329)

* Adds `intialDate` to `MacosDatePicker`

* Bumps `macos_ui` version to `1.7.7`

* Apply suggestions from code review

* spelling correction

---------

Co-authored-by: Reuben Turner <[email protected]>

---------

Co-authored-by: Minas Giannekas <[email protected]>
Co-authored-by: Jon Saw <[email protected]>
Co-authored-by: Minas Giannekas <[email protected]>
Co-authored-by: st merlhin <[email protected]>
Co-authored-by: jtdLab <[email protected]>
Co-authored-by: Norbert Kozsir <[email protected]>
Co-authored-by: Elijah Luckey <[email protected]>

* chore: update gitignore

* chore: update pr template

* chore: update contributing.md & remove scripts

* feat: update `flutter_analysis` workflow (#356)

* attempt to automate dartfmt on pr's

* finish the if condition

* add some output messages

* docs: update README

Closes #352

* docs(ToolBar): update dartdocs

Closes #351

* Bottom resizable pane (#349)

* add bottom_resizable_pane.dart file

* add test for BottomResizablePane

* incremented the package version as appropriate and updated CHANGELOG.md

* include the bottomResizable pane widget on the example app (ButtonsPage) and exports the file

* makes ResizablePane horizontally draggable

* update doc comments

* include breaking change detail in CHANGELOG.md file

* update ResizablePane test

* remove bottom_resizable_pane.dart file and his test file

* update buttons_page.dart file in example app

* fix lints

* run dart format

* set the correct parameter name of resizable pane instance in example's ButtonsPage

* Apply suggestions from code review

* tweak changelog

* dartfmt

---------

Co-authored-by: Reuben Turner <[email protected]>

* docs: add usage note regarding Flutter channel

Closes #362

* chore(actions): update `flutter_analysis.yaml`

Closes #365

* fix: SearchField overlay actions are not performed (#357)

* fix: SearchField overlay actions are not performed

See #348 for more details

* fix: run flutter pub get

* fix: add missing MacosSearchField test

* formatting tweak

---------

Co-authored-by: Reuben Turner <[email protected]>

* address lints

* chore(actions): use master channel

* disable pana check on customer_testing branch

* chore(actions): job-level "if"

* chore(actions): do not run pana action for customer_testing branch

---------

Co-authored-by: Minas Giannekas <[email protected]>
Co-authored-by: Jon Saw <[email protected]>
Co-authored-by: Minas Giannekas <[email protected]>
Co-authored-by: st merlhin <[email protected]>
Co-authored-by: jtdLab <[email protected]>
Co-authored-by: Norbert Kozsir <[email protected]>
Co-authored-by: Elijah Luckey <[email protected]>
Co-authored-by: FelixMethe <[email protected]>

* When toolbar item is clicked, first pop the route and then call its callback - Fixes #346 (#381)

* fix: when a toolbar item is clicked, remove route first and then call its callback - fixes #346

* chore: update version and changelog

* feat: add support for `routerConfig` to `MacosApp.router` (#390)

* feat: add support for routerConfig to MacosApp.router

* remove required keywords in constructor

* rm ! in _buildMacosApp

* Update CHANGELOG.md

Co-authored-by: Reuben Turner <[email protected]>

---------

Co-authored-by: Reuben Turner <[email protected]>

* DCM lint updates and related fixes (#393)

* lints: add `double-literal-format` lint and fixes

* lints: add `prefer-first`, `prefer-last`, and `prefer-immediate-return`

Includes fixes

* chore: remove a redundant `async`

* fix: avoid non-const or final global state

* lints: add always-remove-listener and fix

* lints: add `avoid-unnecessary-setstate` and fixes

* lints: add `avoid-wrapping-in-padding` and fixes

* lints: add `prefer-const-border-radius` and fixes

* lints: add `prefer-correct-edge-insets-constructor` and fixes

* lints: add `use-setstate-synchronously` and fixes

* lints: remove `number-of-parameters`

* fix(MacosTextField): remove FocusNode listener instead of disposing FocusNode

* chore(actions): split out tests into their own workflow

* Fix the online gallery link

* Fix for invalid dates (#402)

* Revert "Merge branch 'customer_testing' into dev"

This reverts commit ebf1d069238a468ba1f22d053ee0781239cf8db2, reversing
changes made to a52b616f14b502de236c3ed0fb622e6abfb52b1c.

* Fix: use the `sidebar` and `endSidebar` key parameter (#400)

* Fix: use the `sidebard` and `endSidebar` key parameter

- pass sidebar key to the sidebar root widget (`AnimatedPositioned`)
- create a new sidebar `ScrollController` when the key is change

* Increment version and update changelog

* Apply suggestions from code review

* Update pubspec.lock file in example

---------

Co-authored-by: Reuben Turner <[email protected]>

* Migrate to macos_window_utils (#377)

* chore: bump Dart SDK version

* add `.vscode/settings.json` to .gitignore

* feat: add macos_window_utils

* feat: wrap side in example with `TransparentMacOSSidebar`

* feat: enable wallpaper tinting on content area

* feat: adjust macOS window brightness depending on theme

* feat: add a way to disable wallpaper tinting

Wallpaper tinting is now also disabled whenever an overlay filter is
used.

* refactor: refactor wallpaper tinted area

* fix: fix wallpaper tinting override being applied on overlay filter rebuild

* fix: do not override wallpaper tinting if no `WallpaperTintingSettingsCubit` is found

* refactor: stop relying on exceptions to check if `WallpaperTintingSettingsCubit` exists in widget tree

* change: switch from BLoC to global wallpaper tinting settings

* chore: remove unused imports

* change: make canvas color mimic `NSWindow.windowBackgroundColor`

* change: make wallpaper tinted area rebuild on layout change

* feat: make toolbar wallpaper-tinted

* doc: document `disableWallpaperTinting`

* doc: improve documentation of `disableWallpaperTinting`

Add link to #16296 and clarify that disabling wallpaper tinting is meant
to be a temporary solution.

* doc: document wallpaper tinted area

* doc: document wallpaper tinting override

* doc: document wallpaper tinting settings builder

* doc: document wallpaper tinting settings data

* change: make `numberOfWallpaperTintingOverrides` private

* doc: document global wallpaper tinting settings

* doc: fix typo

* refactor: refactor wallpaper tinted area

* feat: add `insertRepaintBoundary` property

* change: enable `insertRepaintBoundary` in toolbar

* change: enable `insertRepaintBoundary` in scaffold

* change: export wallpaper tinted area

* feat: enable wallpaper tinting on end sidebar

* feat: add `sidebarState` property to window

* fix: fix background color of end sidebar not matching canvas color when theme brightness does not match platform brightness

* fix: fix wallpaper tinting override using `deactivate` instead of `dispose`

* merge

* change: comment out swift code that hides the toolbar in fullscreen mode

* change: upgrade to macos_window_utils ^1.1.1

* feat: migrate window delegate to macos_window_utils

* change: remove commented-out and unused Swift code

* fix: fix sliver toolbar not having a backdrop filter

* docs: document toolbar's `isVisible` property

* docs: document sliver toolbar's `isVisible` property

* docs: document sliver toolbar page's `isVisible` property

* docs: document `_WallpaperTintedAreaOrBlurFilter`

* refactor: remove unused `key` parameter

* refactor: remove unused import

* readme: update “Modern window look”

* change: bump version

* changelog: add entry for version 2.0.0

* changelog: add migration hint

* merge: toolbar

* fix: remove duplicate `debugFillProperties`

* refactor: rename `pages` to `pageBuilders`

* fix: remove unused import

* fix: remove unused imports

* change: remove unnecessary `NSWindowDelegate` from `MainFlutterWindow`

* change: rename `isVisible` property to `allowWallpaperTintingOverrides` for toolbar

* change: rename `isVisible` property to `allowWallpaperTintingOverrides` for sliver toolbar

* fix: fix typo in comment

* fix: fix `disableWallpaperTinting` having no effect

* change: disable `VisualEffectSubviewContainer` when disabling wallpaper tinting in window

* fix: fix some unit tests not passing

Some unit tests were failing with the following message:
“A Timer is still pending even after the widget tree was disposed.”

The cause of that was that `VisualEffectSubviewContainer`, or more
precisely `VisualEffectSubviewContainerWithGlobalKey` is using a timer
to update its visual effect subview outside of the widget's `build`
method.

The issue is fixed by either disabling wallpaper tinting in the window
(and therefore eliminating the use of `VisualEffectSubviewContainer`)
or, in cases where that was impossible (such as the sidebar) running
`await tester.pump(Duration.zero);` to allow the timer to complete.

* remove unused import

* change default canvas color

`NSColor.windowBackgroundColor` was found to be inaccurate.
The color has instead been changed to a color that was captured using
the Digital Color Meter.

* upgrade to macos_window_utils 1.1.2

* update  “Modern window look” in readme for use with macos_window_utils 1.1.2

* change version to 2.0.0-beta.1

Co-authored-by: Reuben Turner <[email protected]>

* add code formatting to documentation

Highlighted `macos_ui` as a code element.

Co-authored-by: Reuben Turner <[email protected]>

* add missing comma to documentation

Co-authored-by: Reuben Turner <[email protected]>

* change version in changelog entry to 2.0.0-beta.1

Co-authored-by: Reuben Turner <[email protected]>

* change version in pubspec.lock

* format `window.dart`

* replace `Colors.transparent` with `MacosColors.transparent`

* document `WallpaperTintingSettingsBuilder`

* document `WallpaperTintedArea`

* implement `MacosWindowUtilsConfig`

* export `src/macos_window_utils_config.dart`

* use `MacosWindowUtilsConfig` in example

* document `MacosWindowUtilsConfig` constructor

* rename `_initMacosWindowUtils` to `_configureMacosWindowUtils` in example

* document `MacosWindowUtilsConfig` usage in readme

* replace opacity widget with repaint boundary

* improve documentation for `sidebarState`

* improve `MacosWindowUtilsConfig` documentation

* fix inconsistencies introduced by merging

* Update example/lib/main.dart

* remove ”do” prefix from field names in `MacosWindowUtilsConfig`

---------

Co-authored-by: Reuben Turner <[email protected]>

* support flutter 3.10 minimum dart3 (#426)

* Update dart_code_metrics.yaml

* Update dart_code_metrics.yaml

* Update dart_code_metrics.yaml

* Fix EnumProperty test. (#419)

Fix test.

Co-authored-by: Reuben Turner <[email protected]>

* update dependencies

* update changelog

* fix dart version constraint

* Rewritten `MacosSwitch` (#409)

* feat(controls): rewrite `MacosSwitch`

* feat(gallery): demonstrate new `MacosSwitch`

* chore: update version & changelog

* chore: update DCM

* chore: include `MacosColor` updates in changelog

* docs(MacosSwitch): update docs

* chore: some cleanup

* test: fix tests

* docs: update readme

* fix: UX of the click on the calendar elements in `MacosDatePicker` (#417)

fix: UX of the click on the calendar elements

* fix minor formatting fix

* feat: Added support for `startWeekOnMonday` to `MacosDatePicker` (#414)

* feat: Added support for `startWeekOnMonday` to `MacosDatePicker`

* Update lib/src/selectors/date_picker.dart

---------

Co-authored-by: Reuben Turner <[email protected]>

* feat: Added support for `dateFormat` to `MacosDatePicker` (#415)

Co-authored-by: Reuben Turner <[email protected]>

* feat: Added support for `weekdayAbbreviations` and `monthAbbreviations` to `MacosDatePicker` (#416)

* fix mangled conflict resolution part 1

* fix mangled PR conflict resolution part 2

* fix: remove missed state property

---------

Co-authored-by: GroovinChip <[email protected]>

* fix: `ToolBar` title not avoiding traffic lights when no sidebar is present (#441)

* fix: `ToolBar` not avoiding traffic lights when no sidebar is present

* tweak changelog

* feat: implement `ControlSize` for `PushButton` (#447)

* feat: support `ControlSize` enum in `PushButton`

* chore: clean up code

* chore: update version & changelog

* chore: adjust border radius for regular control size

* fix: border radius no longer looks choppy

* improve: disabled background color

* refactor: `isSecondary` -> `secondary`

* chore: update changelog

* docs: update top-level `PushButton` dartdoc

* docs: update readme

* chore: migrate to DCM Teams

* fix: dcm action

* fix: push button tests

* docs: update readme

* fix: checkbox appearance (#448)

* fix: checkbox appearance

* fix: checkbox tests

* Reorganize gallery, add `MacosTypography.of(context)`, and update `MacosAlertDialog` (#451)

* move colors page out of disclosure & remove disclosure

* feat: reorganize gallery

* further refine buttons page

* fix app icon and button sizes in `MacosAlertDialog`

* update version, readme, & changelog

* More gallery improvements (#457)

* chore: recreate native app

* chore: use modern app icon

* chore: improve indicators page

* chore: improve fields page

* chore: improve selectors page

* Typography improvments (#459)

* fix: use `MacosColors.labelColor` as default typography color

* chore: more accurate job step names for DCM action

* fix gallery typography bold values

* feat: Add `MacosFontWeight` so that Apple specific weights can be used

Also updates the gallery to use the new weights

* Non-scrollable `ResizablePane` (#420)

* chore: add missing trailing commas & format

* Fix broken web support, platform theming issues, and typography updates (#460)

* start fixing gallery for web

* additional platform safety, theme, and typographic fixes

* update version

* gallery: remove commented & deprecated code from `main.dart`

* 2.0: Readme updates (#461)

* docs: update readme screenshots

* chore: update gallery to match readme

* fix: `HelpButton` sizing

* chore: deprecate `RelevanceIndicator`

* update version, changelog, & remove `RelevanceIndicator` from gallery & tests

* feat: version `2.0.0` (#462)

* Merges beta changelog entries into a singular `2.0.0` entry
* Updates the version to `2.0.0`
* Fixes the codecov badge

* Update CHANGELOG.md

---------

Co-authored-by: Minas Giannekas <[email protected]>
Co-authored-by: Jon Saw <[email protected]>
Co-authored-by: Minas Giannekas <[email protected]>
Co-authored-by: st merlhin <[email protected]>
Co-authored-by: jtdLab <[email protected]>
Co-authored-by: Norbert Kozsir <[email protected]>
Co-authored-by: Elijah Luckey <[email protected]>
Co-authored-by: FelixMethe <[email protected]>
Co-authored-by: Erick Ghaumez <[email protected]>
Co-authored-by: Elias Yishak <[email protected]>
Co-authored-by: Zemlaynikin Max <[email protected]>
Co-authored-by: Adrian Samoticha <[email protected]>
Co-authored-by: Michelle Raouf <[email protected]>
Co-authored-by: Bernardo Ferrari <[email protected]>
Co-authored-by: Radosław Kłos <[email protected]>
  • Loading branch information
16 people authored Jul 19, 2023
1 parent 278dc11 commit cbdf95b
Show file tree
Hide file tree
Showing 110 changed files with 5,245 additions and 1,774 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/dart_code_metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Run Dart Code Metrics
uses: dart-code-checker/dart-code-metrics-action@v3
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: stable

- name: Set Up DCM
run: flutter pub get
- uses: CQLabs/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
pull_request_comment: true
fatal_warnings: true
fatal_performance: true
fatal_style: true

- run: dcm analyze --ci-key="${{ secrets.DCM_CI_KEY }}" --email="${{ secrets.DCM_EMAIL }}" lib
4 changes: 0 additions & 4 deletions .github/workflows/flutter_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,3 @@ jobs:
- name: Analyze code
run: flutter analyze --fatal-infos .

- name: Test code
run: flutter test

19 changes: 19 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Flutter Analysis
on: [pull_request, workflow_dispatch]

jobs:
package-analysis:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: stable

- name: Install dependencies
run: flutter pub get

- name: Test code
run: flutter test
60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,63 @@
## [2.0.0]
### 🚨 Breaking Changes 🚨
* `macos_ui` has been migrated to utilize [macos_window_utils](https://pub.dev/packages/macos_window_utils) under the hood, which provides the following benefits:
* Window animation smoothness is drastically improved, particularly when miniaturizing and deminiaturizing the application window.
* Some visual artifacts that occurred while the window was being (de)miniaturized (such as the application's shadow going missing) no longer occur.
* The sidebar remains transparent when the app's brightness setting mismatches the OS setting.
* Wallpaper tinting is now supported.
* To migrate an existing application, please refer to the “Modern window look” section in the README.

* Support for Flutter 3.10 and Dart 3
* `PushButton` has been updated to support the `ControlSize` enum.
* The `buttonSize` property has been changed to `controlSize`.
* Buttons can now be any of the following sizes: mini, small, regular, or large.
* `PushButton.isSecondary` is now `PushButton.secondary`.
* `MacosAlertDialog`: `primaryButton` and `secondaryButton` are now declared to be of type `PushButton`.
* `RelevanceIndicator` has been deprecated
* `MacosTypography` white and black are now factory constructors called `darkOpaque()` and `lightOpaque()` to reflect
Apple's naming conventions.

### ✨ New ✨
* `MacosSwitch` has been completely rewritten and now matches the native macOS switch in appearance and behavior.
* A `ControlSize` enum has been introduced, which will allow widgets to more closely match their native counterparts.
* `MacosTypography`
* You can now call `MacosTypography.of(context)` as a shorthand for retrieving the typography used in your `MacosTheme`.
* `MacosFontWeight` allows using Apple-specific font weights like `w510`, `w590`, and `w860`.
* Localization
* Added support for `weekdayAbbreviations` and `monthAbbreviations` to `MacosDatePicker`.
* Added support for `dateFormat` to `MacosDatePicker`.
* Added support for `startWeekOnMonday` to `MacosDatePicker`.

### 🔄 Updated 🔄
* `MacosColor` has been updated with some previously missing elements.
* `PushButton`
* Now uses the correct `body` text style instead of the incorrect `headline`
* `PushButton`'s secondary and disabled colors more closely match their native counterparts.
* `MacosCheckbox` appearance more closely matches its native counterpart.
* `MacosAlertDialog`
* `primaryButton` and `secondaryButton` are now required to have `controlSize`s of `ControlSize.large`.
* Docs now suggest that `appIcon` should be of size 64x64.
* `Toolbar` now uses the correct `title3` text style instead of the incorrect `headline`
* `MacosTheme` sets the global typography more efficiently
* `HelpButton` now sizes itself according to specification
* `ResizablePane` can now disallow the usage of its internal scrollbar via the `ReziablePane.noScrollBar` constructor.

### 🛠️ Fixed 🛠️
* Clicking on the calendar elements in `MacosDatePicker` has better UX
* `ToolBar`s in use where a `SideBar` is not present will now have their title's avoid the traffic lights (native window controls).
* `MacosTypography.darkOpaque()` and `MacosTypography.lightOpaque()` now conform to specification by using `MacosColors.labelColor`
* Ensure builds targeting web do not utilize any `macos_window_utils` code
* Ensure builds targeting web are themed correctly

## [1.12.5]
* Fixed a bug where the `Sidebar.key` parameter wasn't used, which caused certain layouts to be unachievable.

## [1.12.4]
* Default the `_selectedDay` state variable to be 1 when selecting the previous/next month from widget to ensure new date is valid for `_formatAsDateTime()` method (https://github.com/flutter/flutter/issues/123669 & https://github.com/macosui/macos_ui/pull/402)

## [1.12.3]
* Added support for `routerConfig` to `MacosApp.router`. ([#388](https://github.com/macosui/macos_ui/issues/388))

## [1.12.2]
* Fixed a bug where clicking on a overflowed toolbar item with a navigation callback wouldn't work ([#346](https://github.com/GroovinChip/macos_ui/issues/346)).

Expand Down
Loading

0 comments on commit cbdf95b

Please sign in to comment.