diff --git a/.github/workflows/flutter-codestyle.yml b/.github/workflows/flutter-codestyle.yml index 4915468..5c6d560 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: Install dependencies run: flutter pub get diff --git a/.github/workflows/flutter-example.yml b/.github/workflows/flutter-example.yml index 8f06d09..f9c78ea 100644 --- a/.github/workflows/flutter-example.yml +++ b/.github/workflows/flutter-example.yml @@ -25,17 +25,13 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - flutter-version: ['2.8.1', '3.0.4', '3.10.6'] + flutter-version: ['3.3.0', '3.22.2'] include: - - flutter-version: 2.8.1 + - flutter-version: 3.3.0 gradle-version: 6.5 agp-version: 4.1.3 java-version: 11 - - flutter-version: 3.0.4 - gradle-version: 7.5 - agp-version: 7.4.2 - java-version: 11 - - flutter-version: 3.10.6 + - flutter-version: 3.22.2 gradle-version: 8.2 agp-version: 8.2.2 java-version: 17 @@ -77,7 +73,7 @@ jobs: runs-on: macos-latest strategy: matrix: - flutter-version: ['2.8.1', '3.0.4', '3.10.6'] + flutter-version: ['3.3.0', '3.22.2'] steps: - uses: actions/checkout@v3 diff --git a/example/lib/main.dart b/example/lib/main.dart index e2a37ac..b2b4996 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -171,7 +171,7 @@ class _MyAppState extends State { buildStartButton(BuildContext context) { final ButtonStyle buttonStyle = ElevatedButton.styleFrom( - primary: picoBlue, + backgroundColor: picoBlue, shape: CircleBorder(), textStyle: TextStyle(color: Colors.white)); diff --git a/example/pubspec.yaml b/example/pubspec.yaml index d59ac49..16c7932 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -4,7 +4,8 @@ description: Demonstrates how to use the flutter_voice_processor plugin. publish_to: 'none' environment: - sdk: ">=2.12.0 <3.0.0" + sdk: ">=2.18.0 <4.0.0" + flutter: ">=3.3.0" dependencies: flutter: