Skip to content

Commit 2b03d0a

Browse files
committed
Fix design issue
1 parent d6f4696 commit 2b03d0a

File tree

14 files changed

+604
-456
lines changed

14 files changed

+604
-456
lines changed

ios/Flutter/AppFrameworkInfo.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>9.0</string>
24+
<string>12.0</string>
2525
</dict>
2626
</plist>

ios/Podfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '9.0'
2+
# platform :ios, '12.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

ios/Podfile.lock

+15-22
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,30 @@
11
PODS:
22
- Flutter (1.0.0)
3-
- FMDB (2.7.5):
4-
- FMDB/standard (= 2.7.5)
5-
- FMDB/standard (2.7.5)
6-
- path_provider_ios (0.0.1):
3+
- path_provider_foundation (0.0.1):
74
- Flutter
8-
- sqflite (0.0.2):
5+
- FlutterMacOS
6+
- sqflite_darwin (0.0.4):
97
- Flutter
10-
- FMDB (>= 2.7.5)
8+
- FlutterMacOS
119

1210
DEPENDENCIES:
1311
- Flutter (from `Flutter`)
14-
- path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`)
15-
- sqflite (from `.symlinks/plugins/sqflite/ios`)
16-
17-
SPEC REPOS:
18-
trunk:
19-
- FMDB
12+
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
13+
- sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`)
2014

2115
EXTERNAL SOURCES:
2216
Flutter:
2317
:path: Flutter
24-
path_provider_ios:
25-
:path: ".symlinks/plugins/path_provider_ios/ios"
26-
sqflite:
27-
:path: ".symlinks/plugins/sqflite/ios"
18+
path_provider_foundation:
19+
:path: ".symlinks/plugins/path_provider_foundation/darwin"
20+
sqflite_darwin:
21+
:path: ".symlinks/plugins/sqflite_darwin/darwin"
2822

2923
SPEC CHECKSUMS:
30-
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
31-
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
32-
path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02
33-
sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904
24+
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
25+
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
26+
sqflite_darwin: 5a7236e3b501866c1c9befc6771dfd73ffb8702d
3427

35-
PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
28+
PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011
3629

37-
COCOAPODS: 1.11.3
30+
COCOAPODS: 1.15.2

ios/Runner.xcodeproj/project.pbxproj

+11-9
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -68,7 +68,6 @@
6868
2D89181D81A327BD7D077014 /* Pods-Runner.release.xcconfig */,
6969
1E4BFB8C0A5157636715C7B9 /* Pods-Runner.profile.xcconfig */,
7070
);
71-
name = Pods;
7271
path = Pods;
7372
sourceTree = "<group>";
7473
};
@@ -156,7 +155,7 @@
156155
97C146E61CF9000F007C117D /* Project object */ = {
157156
isa = PBXProject;
158157
attributes = {
159-
LastUpgradeCheck = 1300;
158+
LastUpgradeCheck = 1510;
160159
ORGANIZATIONNAME = "";
161160
TargetAttributes = {
162161
97C146ED1CF9000F007C117D = {
@@ -222,10 +221,12 @@
222221
};
223222
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
224223
isa = PBXShellScriptBuildPhase;
224+
alwaysOutOfDate = 1;
225225
buildActionMask = 2147483647;
226226
files = (
227227
);
228228
inputPaths = (
229+
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
229230
);
230231
name = "Thin Binary";
231232
outputPaths = (
@@ -253,6 +254,7 @@
253254
};
254255
9740EEB61CF901F6004384FC /* Run Script */ = {
255256
isa = PBXShellScriptBuildPhase;
257+
alwaysOutOfDate = 1;
256258
buildActionMask = 2147483647;
257259
files = (
258260
);
@@ -340,7 +342,7 @@
340342
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
341343
GCC_WARN_UNUSED_FUNCTION = YES;
342344
GCC_WARN_UNUSED_VARIABLE = YES;
343-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
345+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
344346
MTL_ENABLE_DEBUG_INFO = NO;
345347
SDKROOT = iphoneos;
346348
SUPPORTED_PLATFORMS = iphoneos;
@@ -363,7 +365,7 @@
363365
"$(inherited)",
364366
"@executable_path/Frameworks",
365367
);
366-
PRODUCT_BUNDLE_IDENTIFIER = com.example.day59;
368+
PRODUCT_BUNDLE_IDENTIFIER = com.afgprogrammer.day59;
367369
PRODUCT_NAME = "$(TARGET_NAME)";
368370
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
369371
SWIFT_VERSION = 5.0;
@@ -418,7 +420,7 @@
418420
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
419421
GCC_WARN_UNUSED_FUNCTION = YES;
420422
GCC_WARN_UNUSED_VARIABLE = YES;
421-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
423+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
422424
MTL_ENABLE_DEBUG_INFO = YES;
423425
ONLY_ACTIVE_ARCH = YES;
424426
SDKROOT = iphoneos;
@@ -467,7 +469,7 @@
467469
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
468470
GCC_WARN_UNUSED_FUNCTION = YES;
469471
GCC_WARN_UNUSED_VARIABLE = YES;
470-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
472+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
471473
MTL_ENABLE_DEBUG_INFO = NO;
472474
SDKROOT = iphoneos;
473475
SUPPORTED_PLATFORMS = iphoneos;
@@ -492,7 +494,7 @@
492494
"$(inherited)",
493495
"@executable_path/Frameworks",
494496
);
495-
PRODUCT_BUNDLE_IDENTIFIER = com.example.day59;
497+
PRODUCT_BUNDLE_IDENTIFIER = com.afgprogrammer.day59;
496498
PRODUCT_NAME = "$(TARGET_NAME)";
497499
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
498500
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -515,7 +517,7 @@
515517
"$(inherited)",
516518
"@executable_path/Frameworks",
517519
);
518-
PRODUCT_BUNDLE_IDENTIFIER = com.example.day59;
520+
PRODUCT_BUNDLE_IDENTIFIER = com.afgprogrammer.day59;
519521
PRODUCT_NAME = "$(TARGET_NAME)";
520522
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
521523
SWIFT_VERSION = 5.0;

ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1300"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

ios/Runner/AppDelegate.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import UIKit
22
import Flutter
33

4-
@UIApplicationMain
4+
@main
55
@objc class AppDelegate: FlutterAppDelegate {
66
override func application(
77
_ application: UIApplication,

ios/Runner/Info.plist

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>CADisableMinimumFrameDurationOnPhone</key>
6+
<true/>
57
<key>CFBundleDevelopmentRegion</key>
68
<string>$(DEVELOPMENT_LANGUAGE)</string>
79
<key>CFBundleDisplayName</key>
@@ -24,6 +26,8 @@
2426
<string>$(FLUTTER_BUILD_NUMBER)</string>
2527
<key>LSRequiresIPhoneOS</key>
2628
<true/>
29+
<key>UIApplicationSupportsIndirectInputEvents</key>
30+
<true/>
2731
<key>UILaunchStoryboardName</key>
2832
<string>LaunchScreen</string>
2933
<key>UIMainStoryboardFile</key>
@@ -42,10 +46,8 @@
4246
<string>UIInterfaceOrientationLandscapeRight</string>
4347
</array>
4448
<key>UIUserInterfaceStyle</key>
45-
<string>Light</string>
49+
<string>Light</string>
4650
<key>UIViewControllerBasedStatusBarAppearance</key>
4751
<true/>
48-
<key>CADisableMinimumFrameDurationOnPhone</key>
49-
<true/>
5052
</dict>
5153
</plist>

lib/controllers/home/HomeController.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class HomeController extends GetxController {
1717
HomeController(this._offerProvider);
1818

1919
late PageController pageController;
20-
late CarouselController carouselController;
20+
late CarouselSliderController carouselController;
2121
late CategoryProvider _categoryProvider = Get.find();
2222
late ProductProvider _productProvider = Get.find();
2323

@@ -37,7 +37,7 @@ class HomeController extends GetxController {
3737
@override
3838
void onInit() {
3939
pageController = PageController(initialPage: 0);
40-
carouselController = CarouselController();
40+
carouselController = CarouselSliderController();
4141

4242
getOffers();
4343
getCategories();

0 commit comments

Comments
 (0)