From 3cb7c44f872bec9d8573a2170448e3788cf56ba7 Mon Sep 17 00:00:00 2001 From: Matthew Maxwell Date: Thu, 27 Jun 2024 11:07:21 -0700 Subject: [PATCH] applied dart fix and updated flutter versions --- .github/workflows/flutter-codestyle.yml | 4 ++-- .github/workflows/flutter-demos.yml | 6 +++--- demo/flutter/lib/main.dart | 2 +- demo/flutter/pubspec.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/flutter-codestyle.yml b/.github/workflows/flutter-codestyle.yml index e1da438c..b255fd9a 100644 --- a/.github/workflows/flutter-codestyle.yml +++ b/.github/workflows/flutter-codestyle.yml @@ -20,10 +20,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install Flutter 2.8.1 + - name: Install Flutter 3.22.2 uses: subosito/flutter-action@v2 with: - flutter-version: 2.8.1 + flutter-version: 3.22.2 - name: Run Binding Analyzer run: flutter analyze --no-fatal-infos --no-fatal-warnings diff --git a/.github/workflows/flutter-demos.yml b/.github/workflows/flutter-demos.yml index 35fe4f6a..62ae07c5 100644 --- a/.github/workflows/flutter-demos.yml +++ b/.github/workflows/flutter-demos.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - flutter-version: ['2.8.1', '3.0.4'] + flutter-version: ['3.3.0', '3.22.2'] steps: - uses: actions/checkout@v3 @@ -52,10 +52,10 @@ jobs: build-ios: name: Build iOS demo - runs-on: macos-11 + runs-on: macos-12 strategy: matrix: - flutter-version: ['2.8.1', '3.0.4'] + flutter-version: ['3.3.0', '3.22.2'] steps: - uses: actions/checkout@v3 diff --git a/demo/flutter/lib/main.dart b/demo/flutter/lib/main.dart index bf50d7e9..a0914d3d 100644 --- a/demo/flutter/lib/main.dart +++ b/demo/flutter/lib/main.dart @@ -214,7 +214,7 @@ class _MyAppState extends State { buildStartButton(BuildContext context) { final ButtonStyle buttonStyle = ElevatedButton.styleFrom( - primary: picoBlue, + backgroundColor: picoBlue, shape: BeveledRectangleBorder(), textStyle: TextStyle(color: Colors.white)); diff --git a/demo/flutter/pubspec.yaml b/demo/flutter/pubspec.yaml index 748ff689..8162f918 100644 --- a/demo/flutter/pubspec.yaml +++ b/demo/flutter/pubspec.yaml @@ -6,8 +6,8 @@ publish_to: 'none' version: 1.0.0 environment: - sdk: ">=2.15.0 <4.0.0" - flutter: ">=2.8.1" + sdk: ">=2.18.0 <4.0.0" + flutter: ">=3.3.0" dependencies: flutter: