Skip to content

Commit

Permalink
Flutter demo updates (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt200-ok authored Jun 27, 2024
1 parent 6dc58fc commit 18842c9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 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: Run Binding Analyzer
run: flutter analyze --no-fatal-infos --no-fatal-warnings
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/flutter-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion demo/flutter/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class _MyAppState extends State<MyApp> {

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

Expand Down
4 changes: 2 additions & 2 deletions demo/flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 18842c9

Please sign in to comment.