Skip to content

Commit

Permalink
Merge pull request #248 from square/brandonjenniges/exampleapp_upgrad…
Browse files Browse the repository at this point in the history
…e_flutter_version

Upgrade example app to support Flutter 3.22.2
  • Loading branch information
brandonjenniges authored Jul 1, 2024
2 parents a0a39a6 + 70087f0 commit fcaf1f8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: "3.0.5"
flutter-version: "3.22.2"
architecture: x64
# or: 'beta', 'dev' or 'master'
- run: flutter pub get
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit
import Flutter

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
Expand Down
2 changes: 1 addition & 1 deletion example/lib/widgets/cookie_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class CookieButton extends StatelessWidget {
width: MediaQuery.of(context).size.width * .44,
child: ElevatedButton(
style: ElevatedButton.styleFrom(
primary: mainButtonColor,
backgroundColor: mainButtonColor,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(15.0),
),
Expand Down
4 changes: 2 additions & 2 deletions example/lib/widgets/order_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class OrderSheet extends StatelessWidget {
width: MediaQuery.of(context).size.width * .44,
child: ElevatedButton(
style: ElevatedButton.styleFrom(
primary: Colors.black,
backgroundColor: Colors.black,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(15.0),
),
Expand Down Expand Up @@ -160,7 +160,7 @@ class OrderSheet extends StatelessWidget {
width: MediaQuery.of(context).size.width * .44,
child: ElevatedButton(
style: ElevatedButton.styleFrom(
primary: Colors.black,
backgroundColor: Colors.black,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(15.0),
),
Expand Down

0 comments on commit fcaf1f8

Please sign in to comment.