Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .github/workflows/dart_code_metrics.yaml

This file was deleted.

8 changes: 8 additions & 0 deletions .github/workflows/flutter_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,11 @@ jobs:

- name: Analyze code
run: flutter analyze --fatal-infos .

- name: Install DCM
uses: CQLabs/setup-dcm@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run DCM
run: dcm analyze .
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [2.2.0+1]
* Support Dart 3.9.2
* Update dependencies
* Address lints

## [2.2.0]
### ✨ New ✨
* Add support for Swift package manager.
Expand Down
12 changes: 6 additions & 6 deletions example/lib/pages/buttons_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class _ButtonsPageState extends State<ButtonsPage> {
startSize: 200,
windowBreakpoint: 700,
resizableSide: ResizableSide.left,
builder: (_, __) {
builder: (_, _) {
return const Center(
child: Text('Resizable Pane'),
);
Expand Down Expand Up @@ -159,7 +159,7 @@ class _ButtonsPageState extends State<ButtonsPage> {
startSize: 200,
windowBreakpoint: 700,
resizableSide: ResizableSide.left,
builder: (_, __) {
builder: (_, _) {
return const Center(
child: Text('Resizable Pane'),
);
Expand Down Expand Up @@ -203,7 +203,7 @@ class _ButtonsPageState extends State<ButtonsPage> {
startSize: 200,
windowBreakpoint: 700,
resizableSide: ResizableSide.left,
builder: (_, __) {
builder: (_, _) {
return const Center(
child: Text('Resizable Pane'),
);
Expand Down Expand Up @@ -293,7 +293,7 @@ class _ButtonsPageState extends State<ButtonsPage> {
startSize: 200,
windowBreakpoint: 700,
resizableSide: ResizableSide.left,
builder: (_, __) {
builder: (_, _) {
return const Center(
child: Text('Resizable Pane'),
);
Expand Down Expand Up @@ -338,7 +338,7 @@ class _ButtonsPageState extends State<ButtonsPage> {
startSize: 200,
windowBreakpoint: 700,
resizableSide: ResizableSide.left,
builder: (_, __) {
builder: (_, _) {
return const Center(
child: Text('Resizable Pane'),
);
Expand Down Expand Up @@ -383,7 +383,7 @@ class _ButtonsPageState extends State<ButtonsPage> {
startSize: 200,
windowBreakpoint: 700,
resizableSide: ResizableSide.left,
builder: (_, __) {
builder: (_, _) {
return const Center(
child: Text('Resizable Pane'),
);
Expand Down
6 changes: 3 additions & 3 deletions example/lib/pages/resizable_pane_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ class _ResizablePanePageState extends State<ResizablePanePage> {
startSize: 200,
windowBreakpoint: 700,
resizableSide: ResizableSide.right,
builder: (_, __) {
builder: (_, _) {
return const Center(
child: Text('Left Resizable Pane'),
);
},
),
ContentArea(
builder: (_, __) {
builder: (_, _) {
return Column(
children: [
const Flexible(
Expand All @@ -62,7 +62,7 @@ class _ResizablePanePageState extends State<ResizablePanePage> {
minSize: 50,
startSize: 200,
//windowBreakpoint: 600,
builder: (_, __) {
builder: (_, _) {
return const Center(
child: Text('Bottom Resizable Pane'),
);
Expand Down
1 change: 0 additions & 1 deletion example/lib/pages/sliver_toolbar_page.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:macos_ui/macos_ui.dart';

class SliverToolbarPage extends StatefulWidget {
Expand Down
27 changes: 23 additions & 4 deletions example/macos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,46 @@ PODS:
- appkit_ui_element_colors (1.0.0):
- FlutterMacOS
- FlutterMacOS (1.0.0)
- macos_ui (0.1.0):
- FlutterMacOS
- macos_window_utils (1.0.0):
- FlutterMacOS
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
- url_launcher_macos (0.0.1):
- FlutterMacOS

DEPENDENCIES:
- appkit_ui_element_colors (from `Flutter/ephemeral/.symlinks/plugins/appkit_ui_element_colors/macos`)
- FlutterMacOS (from `Flutter/ephemeral`)
- macos_ui (from `Flutter/ephemeral/.symlinks/plugins/macos_ui/macos`)
- macos_window_utils (from `Flutter/ephemeral/.symlinks/plugins/macos_window_utils/macos`)
- path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin`)
- url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`)

EXTERNAL SOURCES:
appkit_ui_element_colors:
:path: Flutter/ephemeral/.symlinks/plugins/appkit_ui_element_colors/macos
FlutterMacOS:
:path: Flutter/ephemeral
macos_ui:
:path: Flutter/ephemeral/.symlinks/plugins/macos_ui/macos
macos_window_utils:
:path: Flutter/ephemeral/.symlinks/plugins/macos_window_utils/macos
path_provider_foundation:
:path: Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin
url_launcher_macos:
:path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos

SPEC CHECKSUMS:
appkit_ui_element_colors: 711e7a2aa027790964e6fd90c78a666efe631432
FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
macos_window_utils: 3bca8603c2a1cf2257351dfe6bbccc9accf739fd
appkit_ui_element_colors: bb247a2d02b8313cc47e1b83be48d996034c4001
FlutterMacOS: d0db08ddef1a9af05a5ec4b724367152bb0500b1
macos_ui: 50a2048b7ef82bde42570e2775f50907537a0eeb
macos_window_utils: 721df4da91cb4bde7b2b7b6ae93cdead4851118f
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
url_launcher_macos: c82c93949963e55b228a30115bd219499a6fe404

PODFILE CHECKSUM: ff0a9a3ce75ee73f200ca7e2f47745698c917ef9

COCOAPODS: 1.16.2
COCOAPODS: 1.15.2
50 changes: 25 additions & 25 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c"
sha256: "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1"
url: "https://pub.dev"
source: hosted
version: "4.0.0"
version: "6.0.0"
flutter_test:
dependency: "direct dev"
description: flutter
Expand All @@ -116,18 +116,18 @@ packages:
dependency: "direct main"
description:
name: google_fonts
sha256: b1ac0fe2832c9cc95e5e88b57d627c5e68c223b9657f4b96e1487aa9098c7b82
sha256: "517b20870220c48752eafa0ba1a797a092fb22df0d89535fd9991e86ee2cdd9c"
url: "https://pub.dev"
source: hosted
version: "6.2.1"
version: "6.3.2"
gradient_borders:
dependency: transitive
description:
name: gradient_borders
sha256: b1cd969552c83f458ff755aa68e13a0327d09f06c3f42f471b423b01427f21f8
sha256: "492bc88ab8d88a4117a7f00e525a669b65f19973bea7ee677f9d9de7603bf037"
url: "https://pub.dev"
source: hosted
version: "1.0.1"
version: "1.0.2"
http:
dependency: transitive
description:
Expand All @@ -148,49 +148,49 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: "6bb818ecbdffe216e81182c2f0714a2e62b593f4a4f13098713ff1685dfb6ab0"
sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de"
url: "https://pub.dev"
source: hosted
version: "10.0.9"
version: "11.0.2"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573
sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1"
url: "https://pub.dev"
source: hosted
version: "3.0.9"
version: "3.0.10"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1"
url: "https://pub.dev"
source: hosted
version: "3.0.1"
version: "3.0.2"
lints:
dependency: transitive
description:
name: lints
sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235"
sha256: a5e2b223cb7c9c8efdc663ef484fdd95bb243bff242ef5b13e26883547fce9a0
url: "https://pub.dev"
source: hosted
version: "4.0.0"
version: "6.0.0"
macos_ui:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
version: "2.2.0"
version: "2.2.0+1"
macos_window_utils:
dependency: transitive
description:
name: macos_window_utils
sha256: "4e683da162825018580c7341d9e926a6fa39a869a3504c2e5471618553bd55cd"
sha256: d4df3501fd32ac0d2d7590cb6a8e4758337d061c8fa0db816fdd636be63a8438
url: "https://pub.dev"
source: hosted
version: "1.8.2"
version: "1.9.0"
matcher:
dependency: transitive
description:
Expand Down Expand Up @@ -352,10 +352,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd
sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00"
url: "https://pub.dev"
source: hosted
version: "0.7.4"
version: "0.7.6"
typed_data:
dependency: transitive
description:
Expand All @@ -368,10 +368,10 @@ packages:
dependency: "direct main"
description:
name: url_launcher
sha256: "9d06212b1362abc2f0f0d78e6f09f726608c74e3b9462e8368bb03314aa8d603"
sha256: f6a7e5c4835bb4e3026a04793a4199ca2d14c739ec378fdfe23fc8075d0439f8
url: "https://pub.dev"
source: hosted
version: "6.3.1"
version: "6.3.2"
url_launcher_android:
dependency: transitive
description:
Expand Down Expand Up @@ -432,10 +432,10 @@ packages:
dependency: transitive
description:
name: vector_math
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b
url: "https://pub.dev"
source: hosted
version: "2.1.4"
version: "2.2.0"
vm_service:
dependency: transitive
description:
Expand All @@ -461,5 +461,5 @@ packages:
source: hosted
version: "1.1.0"
sdks:
dart: ">=3.7.0 <4.0.0"
flutter: ">=3.27.0"
dart: ">=3.9.2 <4.0.0"
flutter: ">=3.29.0"
10 changes: 5 additions & 5 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ publish_to: 'none'
version: 1.0.0+1

environment:
sdk: '>=3.5.3 <4.0.0'
sdk: '>=3.9.2 <4.0.0'

dependencies:
flutter:
Expand All @@ -13,14 +13,14 @@ dependencies:
cupertino_icons: ^1.0.8
macos_ui:
path: ..
provider: ^6.1.2
google_fonts: ^6.2.1
url_launcher: ^6.3.0
provider: ^6.1.5
google_fonts: ^6.3.2
url_launcher: ^6.3.2

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0
flutter_lints: ^6.0.0

flutter:
assets:
Expand Down
2 changes: 1 addition & 1 deletion lib/macos_ui.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// * [yaru_icons](https://pub.dev/packages/yaru_icons)
/// * [yaru_colors](https://pub.dev/packages/yaru_colors)

library macos_ui;
library;

export 'package:macos_window_utils/macos/ns_window_delegate.dart';
export 'package:macos_window_utils/macos_window_utils.dart';
Expand Down
Loading
Loading