Skip to content

Commit

Permalink
Upgrade example app to support Flutter 3.22.2
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonjenniges committed Jun 17, 2024
1 parent 4ae886c commit 05651f0
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 05651f0

Please sign in to comment.