Skip to content

Commit

Permalink
Flutter demo updates (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt200-ok authored Jun 28, 2024
1 parent 1634771 commit 92f9e78
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/flutter-codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/flutter-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class _MyAppState extends State<MyApp> {

buildStartButton(BuildContext context) {
final ButtonStyle buttonStyle = ElevatedButton.styleFrom(
primary: picoBlue,
backgroundColor: picoBlue,
shape: CircleBorder(),
textStyle: TextStyle(color: Colors.white));

Expand Down
3 changes: 2 additions & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 92f9e78

Please sign in to comment.