Skip to content

Commit 10522b5

Browse files
committed
upgrading:
- pub upgrade - xcode version (16.2) - flutter version (3.27.4) - dart 3.6
1 parent 3a48447 commit 10522b5

File tree

60 files changed

+878
-776
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+878
-776
lines changed

.fvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"flutter": "3.22.2"
2+
"flutter": "3.27.4"
33
}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*.swp
66
.DS_Store
77
.atom/
8+
.build/
89
.buildlog/
910
.history
1011
.svn/
12+
.swiftpm/
1113
migrate_working_dir/
1214

1315
# IntelliJ related

ios/Podfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@ post_install do |installer|
4040

4141
# https://pub.dev/packages/permission_handler
4242
target.build_configurations.each do |config|
43+
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
4344
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
4445
'$(inherited)',
4546
'PERMISSION_PHOTOS=1',
4647
'PERMISSION_PHOTOS_ADD_ONLY=1'
4748
]
48-
end
49+
end
4950
end
50-
end
51+
end

ios/Podfile.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ PODS:
4949
- path_provider_foundation (0.0.1):
5050
- Flutter
5151
- FlutterMacOS
52-
- permission_handler_apple (9.1.1):
52+
- permission_handler_apple (9.3.0):
5353
- Flutter
5454
- SDWebImage (5.19.2):
5555
- SDWebImage/Core (= 5.19.2)
5656
- SDWebImage/Core (5.19.2)
5757
- shared_preferences_foundation (0.0.1):
5858
- Flutter
5959
- FlutterMacOS
60-
- sqflite (0.0.3):
60+
- sqflite_darwin (0.0.4):
6161
- Flutter
6262
- FlutterMacOS
6363
- SwiftyGif (5.4.5)
@@ -76,7 +76,7 @@ DEPENDENCIES:
7676
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
7777
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
7878
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
79-
- sqflite (from `.symlinks/plugins/sqflite/darwin`)
79+
- sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`)
8080
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
8181

8282
SPEC REPOS:
@@ -109,30 +109,30 @@ EXTERNAL SOURCES:
109109
:path: ".symlinks/plugins/permission_handler_apple/ios"
110110
shared_preferences_foundation:
111111
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
112-
sqflite:
113-
:path: ".symlinks/plugins/sqflite/darwin"
112+
sqflite_darwin:
113+
:path: ".symlinks/plugins/sqflite_darwin/darwin"
114114
url_launcher_ios:
115115
:path: ".symlinks/plugins/url_launcher_ios/ios"
116116

117117
SPEC CHECKSUMS:
118-
device_info_plus: c6fb39579d0f423935b0c9ce7ee2f44b71b9fce6
118+
device_info_plus: bf2e3232933866d73fe290f2942f2156cdd10342
119119
DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c
120120
DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60
121-
file_picker: ce3938a0df3cc1ef404671531facef740d03f920
121+
file_picker: b159e0c068aef54932bb15dc9fd1571818edaf49
122122
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
123123
flutter_localization: f43b18844a2b3d2c71fd64f04ffd6b1e64dd54d4
124-
image_picker_ios: 99dfe1854b4fa34d0364e74a78448a0151025425
124+
image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1
125125
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
126126
launch_review: 75d5a956ba8eaa493e9c9d4bf4c05e505e8d5ed0
127-
package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85
128-
path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c
129-
permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6
127+
package_info_plus: c0502532a26c7662a62a356cebe2692ec5fe4ec4
128+
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
129+
permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2
130130
SDWebImage: dfe95b2466a9823cf9f0c6d01217c06550d7b29a
131-
shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695
132-
sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec
131+
shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78
132+
sqflite_darwin: 5a7236e3b501866c1c9befc6771dfd73ffb8702d
133133
SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4
134-
url_launcher_ios: bbd758c6e7f9fd7b5b1d4cde34d2b95fcce5e812
134+
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
135135

136-
PODFILE CHECKSUM: 303789365c3a8d7bc562e5e65d7e8e15218ec5c6
136+
PODFILE CHECKSUM: 831cafef4bc806deb29645d5227686674b1761de
137137

138-
COCOAPODS: 1.15.0
138+
COCOAPODS: 1.16.2

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 60 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
0A33CEB24088A2A07C95D0A8 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 125791FA95E51E9476DEDAFD /* Pods_Runner.framework */; };
1011
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11-
331007ED568C7DF67C258934 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71894CA020D99DDEAEDCA2B3 /* Pods_Runner.framework */; };
1212
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
1313
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
1414
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
@@ -30,56 +30,37 @@
3030
/* End PBXCopyFilesBuildPhase section */
3131

3232
/* Begin PBXFileReference section */
33+
0826EEFDB99B3008FFF51172 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
34+
125791FA95E51E9476DEDAFD /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
3335
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
3436
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
3537
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
36-
402E9F8436BF51452B55E902 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
37-
71894CA020D99DDEAEDCA2B3 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
38+
3B552651AC5DA9BE59289E40 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
3839
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
3940
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
4041
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
41-
83CAF972BE349D6E682C6EC4 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
4242
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
4343
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
4444
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
4545
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
4646
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
4747
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
4848
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
49-
BDA6130135A6293576D14716 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
49+
F53B870DE410F8EF6A57ED2F /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
5050
/* End PBXFileReference section */
5151

5252
/* Begin PBXFrameworksBuildPhase section */
5353
97C146EB1CF9000F007C117D /* Frameworks */ = {
5454
isa = PBXFrameworksBuildPhase;
5555
buildActionMask = 2147483647;
5656
files = (
57-
331007ED568C7DF67C258934 /* Pods_Runner.framework in Frameworks */,
57+
0A33CEB24088A2A07C95D0A8 /* Pods_Runner.framework in Frameworks */,
5858
);
5959
runOnlyForDeploymentPostprocessing = 0;
6060
};
6161
/* End PBXFrameworksBuildPhase section */
6262

6363
/* Begin PBXGroup section */
64-
387DE4EDC3D9C7C3F090B582 /* Pods */ = {
65-
isa = PBXGroup;
66-
children = (
67-
83CAF972BE349D6E682C6EC4 /* Pods-Runner.debug.xcconfig */,
68-
402E9F8436BF51452B55E902 /* Pods-Runner.release.xcconfig */,
69-
BDA6130135A6293576D14716 /* Pods-Runner.profile.xcconfig */,
70-
);
71-
name = Pods;
72-
path = Pods;
73-
sourceTree = "<group>";
74-
};
75-
78D335D70F165DECB7A8C2B6 /* Frameworks */ = {
76-
isa = PBXGroup;
77-
children = (
78-
71894CA020D99DDEAEDCA2B3 /* Pods_Runner.framework */,
79-
);
80-
name = Frameworks;
81-
sourceTree = "<group>";
82-
};
8364
9740EEB11CF90186004384FC /* Flutter */ = {
8465
isa = PBXGroup;
8566
children = (
@@ -97,8 +78,8 @@
9778
9740EEB11CF90186004384FC /* Flutter */,
9879
97C146F01CF9000F007C117D /* Runner */,
9980
97C146EF1CF9000F007C117D /* Products */,
100-
387DE4EDC3D9C7C3F090B582 /* Pods */,
101-
78D335D70F165DECB7A8C2B6 /* Frameworks */,
81+
E89A3E52C225ADA5C38C3EFB /* Pods */,
82+
AB7F6A8AC188C3A4098262C6 /* Frameworks */,
10283
);
10384
sourceTree = "<group>";
10485
};
@@ -125,21 +106,40 @@
125106
path = Runner;
126107
sourceTree = "<group>";
127108
};
109+
AB7F6A8AC188C3A4098262C6 /* Frameworks */ = {
110+
isa = PBXGroup;
111+
children = (
112+
125791FA95E51E9476DEDAFD /* Pods_Runner.framework */,
113+
);
114+
name = Frameworks;
115+
sourceTree = "<group>";
116+
};
117+
E89A3E52C225ADA5C38C3EFB /* Pods */ = {
118+
isa = PBXGroup;
119+
children = (
120+
0826EEFDB99B3008FFF51172 /* Pods-Runner.debug.xcconfig */,
121+
F53B870DE410F8EF6A57ED2F /* Pods-Runner.release.xcconfig */,
122+
3B552651AC5DA9BE59289E40 /* Pods-Runner.profile.xcconfig */,
123+
);
124+
path = Pods;
125+
sourceTree = "<group>";
126+
};
128127
/* End PBXGroup section */
129128

130129
/* Begin PBXNativeTarget section */
131130
97C146ED1CF9000F007C117D /* Runner */ = {
132131
isa = PBXNativeTarget;
133132
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
134133
buildPhases = (
135-
718DED67DE55CE2B12BDF3F2 /* [CP] Check Pods Manifest.lock */,
134+
EE77607DD41E0D46F4EACC12 /* [CP] Check Pods Manifest.lock */,
136135
9740EEB61CF901F6004384FC /* Run Script */,
137136
97C146EA1CF9000F007C117D /* Sources */,
138137
97C146EB1CF9000F007C117D /* Frameworks */,
139138
97C146EC1CF9000F007C117D /* Resources */,
140139
9705A1C41CF9048500538489 /* Embed Frameworks */,
141140
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
142-
C143E155B1BF9D937E877BC4 /* [CP] Embed Pods Frameworks */,
141+
F415EC55BCDB78D329DF4B3D /* [CP] Embed Pods Frameworks */,
142+
478EF65E80D0CDA65523248B /* [CP] Copy Pods Resources */,
143143
);
144144
buildRules = (
145145
);
@@ -214,26 +214,21 @@
214214
shellPath = /bin/sh;
215215
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
216216
};
217-
718DED67DE55CE2B12BDF3F2 /* [CP] Check Pods Manifest.lock */ = {
217+
478EF65E80D0CDA65523248B /* [CP] Copy Pods Resources */ = {
218218
isa = PBXShellScriptBuildPhase;
219219
buildActionMask = 2147483647;
220220
files = (
221221
);
222222
inputFileListPaths = (
223+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
223224
);
224-
inputPaths = (
225-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
226-
"${PODS_ROOT}/Manifest.lock",
227-
);
228-
name = "[CP] Check Pods Manifest.lock";
225+
name = "[CP] Copy Pods Resources";
229226
outputFileListPaths = (
230-
);
231-
outputPaths = (
232-
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
227+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
233228
);
234229
runOnlyForDeploymentPostprocessing = 0;
235230
shellPath = /bin/sh;
236-
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
231+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
237232
showEnvVarsInLog = 0;
238233
};
239234
9740EEB61CF901F6004384FC /* Run Script */ = {
@@ -251,7 +246,29 @@
251246
shellPath = /bin/sh;
252247
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
253248
};
254-
C143E155B1BF9D937E877BC4 /* [CP] Embed Pods Frameworks */ = {
249+
EE77607DD41E0D46F4EACC12 /* [CP] Check Pods Manifest.lock */ = {
250+
isa = PBXShellScriptBuildPhase;
251+
buildActionMask = 2147483647;
252+
files = (
253+
);
254+
inputFileListPaths = (
255+
);
256+
inputPaths = (
257+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
258+
"${PODS_ROOT}/Manifest.lock",
259+
);
260+
name = "[CP] Check Pods Manifest.lock";
261+
outputFileListPaths = (
262+
);
263+
outputPaths = (
264+
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
265+
);
266+
runOnlyForDeploymentPostprocessing = 0;
267+
shellPath = /bin/sh;
268+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
269+
showEnvVarsInLog = 0;
270+
};
271+
F415EC55BCDB78D329DF4B3D /* [CP] Embed Pods Frameworks */ = {
255272
isa = PBXShellScriptBuildPhase;
256273
buildActionMask = 2147483647;
257274
files = (
@@ -359,7 +376,7 @@
359376
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
360377
CLANG_ENABLE_MODULES = YES;
361378
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
362-
DEVELOPMENT_TEAM = N73Q7DJV99;
379+
DEVELOPMENT_TEAM = 7Y74ZJNZBU;
363380
ENABLE_BITCODE = NO;
364381
INFOPLIST_FILE = Runner/Info.plist;
365382
LD_RUNPATH_SEARCH_PATHS = (
@@ -488,7 +505,7 @@
488505
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
489506
CLANG_ENABLE_MODULES = YES;
490507
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
491-
DEVELOPMENT_TEAM = N73Q7DJV99;
508+
DEVELOPMENT_TEAM = 7Y74ZJNZBU;
492509
ENABLE_BITCODE = NO;
493510
INFOPLIST_FILE = Runner/Info.plist;
494511
LD_RUNPATH_SEARCH_PATHS = (
@@ -511,7 +528,7 @@
511528
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
512529
CLANG_ENABLE_MODULES = YES;
513530
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
514-
DEVELOPMENT_TEAM = N73Q7DJV99;
531+
DEVELOPMENT_TEAM = 7Y74ZJNZBU;
515532
ENABLE_BITCODE = NO;
516533
INFOPLIST_FILE = Runner/Info.plist;
517534
LD_RUNPATH_SEARCH_PATHS = (

ios/Runner/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import UIKit
22
import Flutter
33
import Photos
44

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

lib/core/commands/command_factory/command_factory_provider.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/commands/command_implementation/graphic/line_command.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import 'dart:ui';
22

33
import 'package:freezed_annotation/freezed_annotation.dart';
4-
54
import 'package:paintroid/core/commands/command_implementation/graphic/graphic_command.dart';
65
import 'package:paintroid/core/commands/path_with_action_history.dart';
76
import 'package:paintroid/core/json_serialization/converter/offset_converter.dart';
@@ -16,16 +15,16 @@ part 'line_command.g.dart';
1615
class LineCommand extends GraphicCommand {
1716
final String type;
1817
final int version;
19-
bool isSourcePath = false;
18+
late final bool isSourcePath;
2019

2120
@PathWithActionHistoryConverter()
22-
PathWithActionHistory path;
21+
late final PathWithActionHistory path;
2322

2423
@OffsetConverter()
25-
Offset startPoint;
24+
late final Offset startPoint;
2625

2726
@OffsetConverter()
28-
Offset endPoint;
27+
late final Offset endPoint;
2928

3029
LineCommand(
3130
this.path,
@@ -34,6 +33,7 @@ class LineCommand extends GraphicCommand {
3433
this.endPoint, {
3534
this.type = SerializerType.LINE_COMMAND,
3635
int? version,
36+
this.isSourcePath = false,
3737
}) : version =
3838
version ?? VersionStrategyManager.strategy.getLineCommandVersion();
3939

lib/core/commands/command_implementation/graphic/line_command.g.dart

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/commands/command_implementation/graphic/shape/circle_shape_command.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ part 'circle_shape_command.g.dart';
1111

1212
@JsonSerializable()
1313
class CircleShapeCommand extends ShapeCommand {
14-
double radius;
14+
final double radius;
1515
@OffsetConverter()
16-
Offset center;
16+
final Offset center;
1717

1818
final int version;
1919
final String type;

0 commit comments

Comments
 (0)