Compare commits
7 Commits
Author | SHA1 | Date |
---|---|---|
snehalathad@aissel.com | 0eef014073 | |
snehalathad@aissel.com | 91f46d6036 | |
snehalathad@aissel.com | 6415617f17 | |
snehalathad@aissel.com | 8a6dc26234 | |
snehalathad@aissel.com | f51836649a | |
snehalathad@aissel.com | 7c6237593b | |
snehalathad@aissel.com | 98464d3f67 |
|
@ -1 +1,2 @@
|
||||||
|
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
|
||||||
#include "Generated.xcconfig"
|
#include "Generated.xcconfig"
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
|
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||||
#include "Generated.xcconfig"
|
#include "Generated.xcconfig"
|
||||||
|
|
|
@ -0,0 +1,44 @@
|
||||||
|
# Uncomment this line to define a global platform for your project
|
||||||
|
# platform :ios, '12.0'
|
||||||
|
|
||||||
|
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
|
||||||
|
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
|
||||||
|
|
||||||
|
project 'Runner', {
|
||||||
|
'Debug' => :debug,
|
||||||
|
'Profile' => :release,
|
||||||
|
'Release' => :release,
|
||||||
|
}
|
||||||
|
|
||||||
|
def flutter_root
|
||||||
|
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
|
||||||
|
unless File.exist?(generated_xcode_build_settings_path)
|
||||||
|
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
|
||||||
|
end
|
||||||
|
|
||||||
|
File.foreach(generated_xcode_build_settings_path) do |line|
|
||||||
|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
|
||||||
|
return matches[1].strip if matches
|
||||||
|
end
|
||||||
|
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
|
||||||
|
end
|
||||||
|
|
||||||
|
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
|
||||||
|
|
||||||
|
flutter_ios_podfile_setup
|
||||||
|
|
||||||
|
target 'Runner' do
|
||||||
|
use_frameworks!
|
||||||
|
use_modular_headers!
|
||||||
|
|
||||||
|
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
|
||||||
|
target 'RunnerTests' do
|
||||||
|
inherit! :search_paths
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
post_install do |installer|
|
||||||
|
installer.pods_project.targets.each do |target|
|
||||||
|
flutter_additional_ios_build_settings(target)
|
||||||
|
end
|
||||||
|
end
|
|
@ -0,0 +1,102 @@
|
||||||
|
PODS:
|
||||||
|
- connectivity_plus (0.0.1):
|
||||||
|
- Flutter
|
||||||
|
- FlutterMacOS
|
||||||
|
- DKImagePickerController/Core (4.3.9):
|
||||||
|
- DKImagePickerController/ImageDataManager
|
||||||
|
- DKImagePickerController/Resource
|
||||||
|
- DKImagePickerController/ImageDataManager (4.3.9)
|
||||||
|
- DKImagePickerController/PhotoGallery (4.3.9):
|
||||||
|
- DKImagePickerController/Core
|
||||||
|
- DKPhotoGallery
|
||||||
|
- DKImagePickerController/Resource (4.3.9)
|
||||||
|
- DKPhotoGallery (0.0.19):
|
||||||
|
- DKPhotoGallery/Core (= 0.0.19)
|
||||||
|
- DKPhotoGallery/Model (= 0.0.19)
|
||||||
|
- DKPhotoGallery/Preview (= 0.0.19)
|
||||||
|
- DKPhotoGallery/Resource (= 0.0.19)
|
||||||
|
- SDWebImage
|
||||||
|
- SwiftyGif
|
||||||
|
- DKPhotoGallery/Core (0.0.19):
|
||||||
|
- DKPhotoGallery/Model
|
||||||
|
- DKPhotoGallery/Preview
|
||||||
|
- SDWebImage
|
||||||
|
- SwiftyGif
|
||||||
|
- DKPhotoGallery/Model (0.0.19):
|
||||||
|
- SDWebImage
|
||||||
|
- SwiftyGif
|
||||||
|
- DKPhotoGallery/Preview (0.0.19):
|
||||||
|
- DKPhotoGallery/Model
|
||||||
|
- DKPhotoGallery/Resource
|
||||||
|
- SDWebImage
|
||||||
|
- SwiftyGif
|
||||||
|
- DKPhotoGallery/Resource (0.0.19):
|
||||||
|
- SDWebImage
|
||||||
|
- SwiftyGif
|
||||||
|
- file_picker (0.0.1):
|
||||||
|
- DKImagePickerController/PhotoGallery
|
||||||
|
- Flutter
|
||||||
|
- Flutter (1.0.0)
|
||||||
|
- open_file (0.0.1):
|
||||||
|
- Flutter
|
||||||
|
- path_provider_foundation (0.0.1):
|
||||||
|
- Flutter
|
||||||
|
- FlutterMacOS
|
||||||
|
- permission_handler_apple (9.3.0):
|
||||||
|
- Flutter
|
||||||
|
- SDWebImage (5.19.2):
|
||||||
|
- SDWebImage/Core (= 5.19.2)
|
||||||
|
- SDWebImage/Core (5.19.2)
|
||||||
|
- shared_preferences_foundation (0.0.1):
|
||||||
|
- Flutter
|
||||||
|
- FlutterMacOS
|
||||||
|
- SwiftyGif (5.4.5)
|
||||||
|
|
||||||
|
DEPENDENCIES:
|
||||||
|
- connectivity_plus (from `.symlinks/plugins/connectivity_plus/darwin`)
|
||||||
|
- file_picker (from `.symlinks/plugins/file_picker/ios`)
|
||||||
|
- Flutter (from `Flutter`)
|
||||||
|
- open_file (from `.symlinks/plugins/open_file/ios`)
|
||||||
|
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
|
||||||
|
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
|
||||||
|
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
|
||||||
|
|
||||||
|
SPEC REPOS:
|
||||||
|
trunk:
|
||||||
|
- DKImagePickerController
|
||||||
|
- DKPhotoGallery
|
||||||
|
- SDWebImage
|
||||||
|
- SwiftyGif
|
||||||
|
|
||||||
|
EXTERNAL SOURCES:
|
||||||
|
connectivity_plus:
|
||||||
|
:path: ".symlinks/plugins/connectivity_plus/darwin"
|
||||||
|
file_picker:
|
||||||
|
:path: ".symlinks/plugins/file_picker/ios"
|
||||||
|
Flutter:
|
||||||
|
:path: Flutter
|
||||||
|
open_file:
|
||||||
|
:path: ".symlinks/plugins/open_file/ios"
|
||||||
|
path_provider_foundation:
|
||||||
|
:path: ".symlinks/plugins/path_provider_foundation/darwin"
|
||||||
|
permission_handler_apple:
|
||||||
|
:path: ".symlinks/plugins/permission_handler_apple/ios"
|
||||||
|
shared_preferences_foundation:
|
||||||
|
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
|
||||||
|
|
||||||
|
SPEC CHECKSUMS:
|
||||||
|
connectivity_plus: ddd7f30999e1faaef5967c23d5b6d503d10434db
|
||||||
|
DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c
|
||||||
|
DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60
|
||||||
|
file_picker: 09aa5ec1ab24135ccd7a1621c46c84134bfd6655
|
||||||
|
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
|
||||||
|
open_file: 02eb5cb6b21264bd3a696876f5afbfb7ca4f4b7d
|
||||||
|
path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c
|
||||||
|
permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2
|
||||||
|
SDWebImage: dfe95b2466a9823cf9f0c6d01217c06550d7b29a
|
||||||
|
shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695
|
||||||
|
SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4
|
||||||
|
|
||||||
|
PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796
|
||||||
|
|
||||||
|
COCOAPODS: 1.14.3
|
|
@ -8,6 +8,8 @@
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
/* Begin PBXBuildFile section */
|
||||||
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
|
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
|
||||||
|
1B3435F39ABB0B2B4F1335E4 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B73A1BE15A08783ED5D5B084 /* Pods_RunnerTests.framework */; };
|
||||||
|
2D9F43102E23355BD3D164B9 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE85EB91C952524A3D1EC24A /* Pods_Runner.framework */; };
|
||||||
331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
|
331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
|
||||||
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
|
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
|
||||||
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
|
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
|
||||||
|
@ -44,10 +46,12 @@
|
||||||
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
|
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
|
||||||
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
|
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
|
||||||
331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
|
332BD68038F6AB3397819249 /* 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>"; };
|
||||||
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
|
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
|
||||||
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
|
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
|
||||||
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
||||||
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
|
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
|
||||||
|
92991BF63BFD77E6B0319DE4 /* 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>"; };
|
||||||
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
|
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
|
||||||
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
|
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
|
||||||
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
|
@ -55,19 +59,47 @@
|
||||||
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
||||||
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
||||||
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||||
|
A603C17A220EA14077ED2839 /* 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>"; };
|
||||||
|
B68D6BBDE2D7389DD16E4C35 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
|
||||||
|
B73A1BE15A08783ED5D5B084 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
|
BA275946E6DD86B40F4D9856 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
|
||||||
|
C69CB8769C23B62B371F7EF8 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
|
||||||
|
EE85EB91C952524A3D1EC24A /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
/* Begin PBXFrameworksBuildPhase section */
|
||||||
|
5325EC1438F5AEBC5D9E72FF /* Frameworks */ = {
|
||||||
|
isa = PBXFrameworksBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
1B3435F39ABB0B2B4F1335E4 /* Pods_RunnerTests.framework in Frameworks */,
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
};
|
||||||
97C146EB1CF9000F007C117D /* Frameworks */ = {
|
97C146EB1CF9000F007C117D /* Frameworks */ = {
|
||||||
isa = PBXFrameworksBuildPhase;
|
isa = PBXFrameworksBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
|
2D9F43102E23355BD3D164B9 /* Pods_Runner.framework in Frameworks */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
/* End PBXFrameworksBuildPhase section */
|
/* End PBXFrameworksBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
/* Begin PBXGroup section */
|
||||||
|
015F2B82B7AF3E412F5D7447 /* Pods */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
92991BF63BFD77E6B0319DE4 /* Pods-Runner.debug.xcconfig */,
|
||||||
|
332BD68038F6AB3397819249 /* Pods-Runner.release.xcconfig */,
|
||||||
|
A603C17A220EA14077ED2839 /* Pods-Runner.profile.xcconfig */,
|
||||||
|
C69CB8769C23B62B371F7EF8 /* Pods-RunnerTests.debug.xcconfig */,
|
||||||
|
BA275946E6DD86B40F4D9856 /* Pods-RunnerTests.release.xcconfig */,
|
||||||
|
B68D6BBDE2D7389DD16E4C35 /* Pods-RunnerTests.profile.xcconfig */,
|
||||||
|
);
|
||||||
|
path = Pods;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
331C8082294A63A400263BE5 /* RunnerTests */ = {
|
331C8082294A63A400263BE5 /* RunnerTests */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
@ -76,6 +108,15 @@
|
||||||
path = RunnerTests;
|
path = RunnerTests;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
|
5084D4B2EFBAC11F091C9B8E /* Frameworks */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
EE85EB91C952524A3D1EC24A /* Pods_Runner.framework */,
|
||||||
|
B73A1BE15A08783ED5D5B084 /* Pods_RunnerTests.framework */,
|
||||||
|
);
|
||||||
|
name = Frameworks;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
9740EEB11CF90186004384FC /* Flutter */ = {
|
9740EEB11CF90186004384FC /* Flutter */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
@ -94,6 +135,8 @@
|
||||||
97C146F01CF9000F007C117D /* Runner */,
|
97C146F01CF9000F007C117D /* Runner */,
|
||||||
97C146EF1CF9000F007C117D /* Products */,
|
97C146EF1CF9000F007C117D /* Products */,
|
||||||
331C8082294A63A400263BE5 /* RunnerTests */,
|
331C8082294A63A400263BE5 /* RunnerTests */,
|
||||||
|
015F2B82B7AF3E412F5D7447 /* Pods */,
|
||||||
|
5084D4B2EFBAC11F091C9B8E /* Frameworks */,
|
||||||
);
|
);
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
|
@ -128,8 +171,10 @@
|
||||||
isa = PBXNativeTarget;
|
isa = PBXNativeTarget;
|
||||||
buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
|
buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
|
||||||
buildPhases = (
|
buildPhases = (
|
||||||
|
58C493D983D0E7FFAD408973 /* [CP] Check Pods Manifest.lock */,
|
||||||
331C807D294A63A400263BE5 /* Sources */,
|
331C807D294A63A400263BE5 /* Sources */,
|
||||||
331C807F294A63A400263BE5 /* Resources */,
|
331C807F294A63A400263BE5 /* Resources */,
|
||||||
|
5325EC1438F5AEBC5D9E72FF /* Frameworks */,
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
);
|
);
|
||||||
|
@ -145,12 +190,15 @@
|
||||||
isa = PBXNativeTarget;
|
isa = PBXNativeTarget;
|
||||||
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
|
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
|
||||||
buildPhases = (
|
buildPhases = (
|
||||||
|
779E2AABA2357A9F3660B1B8 /* [CP] Check Pods Manifest.lock */,
|
||||||
9740EEB61CF901F6004384FC /* Run Script */,
|
9740EEB61CF901F6004384FC /* Run Script */,
|
||||||
97C146EA1CF9000F007C117D /* Sources */,
|
97C146EA1CF9000F007C117D /* Sources */,
|
||||||
97C146EB1CF9000F007C117D /* Frameworks */,
|
97C146EB1CF9000F007C117D /* Frameworks */,
|
||||||
97C146EC1CF9000F007C117D /* Resources */,
|
97C146EC1CF9000F007C117D /* Resources */,
|
||||||
9705A1C41CF9048500538489 /* Embed Frameworks */,
|
9705A1C41CF9048500538489 /* Embed Frameworks */,
|
||||||
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
|
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
|
||||||
|
3F92760494627F10EED9C1F9 /* [CP] Embed Pods Frameworks */,
|
||||||
|
CEE4F69E86661AF91811D264 /* [CP] Copy Pods Resources */,
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
);
|
);
|
||||||
|
@ -238,6 +286,67 @@
|
||||||
shellPath = /bin/sh;
|
shellPath = /bin/sh;
|
||||||
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
|
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
|
||||||
};
|
};
|
||||||
|
3F92760494627F10EED9C1F9 /* [CP] Embed Pods Frameworks */ = {
|
||||||
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
inputFileListPaths = (
|
||||||
|
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
|
||||||
|
);
|
||||||
|
name = "[CP] Embed Pods Frameworks";
|
||||||
|
outputFileListPaths = (
|
||||||
|
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
shellPath = /bin/sh;
|
||||||
|
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
|
||||||
|
showEnvVarsInLog = 0;
|
||||||
|
};
|
||||||
|
58C493D983D0E7FFAD408973 /* [CP] Check Pods Manifest.lock */ = {
|
||||||
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
inputFileListPaths = (
|
||||||
|
);
|
||||||
|
inputPaths = (
|
||||||
|
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
||||||
|
"${PODS_ROOT}/Manifest.lock",
|
||||||
|
);
|
||||||
|
name = "[CP] Check Pods Manifest.lock";
|
||||||
|
outputFileListPaths = (
|
||||||
|
);
|
||||||
|
outputPaths = (
|
||||||
|
"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
shellPath = /bin/sh;
|
||||||
|
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";
|
||||||
|
showEnvVarsInLog = 0;
|
||||||
|
};
|
||||||
|
779E2AABA2357A9F3660B1B8 /* [CP] Check Pods Manifest.lock */ = {
|
||||||
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
inputFileListPaths = (
|
||||||
|
);
|
||||||
|
inputPaths = (
|
||||||
|
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
||||||
|
"${PODS_ROOT}/Manifest.lock",
|
||||||
|
);
|
||||||
|
name = "[CP] Check Pods Manifest.lock";
|
||||||
|
outputFileListPaths = (
|
||||||
|
);
|
||||||
|
outputPaths = (
|
||||||
|
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
shellPath = /bin/sh;
|
||||||
|
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";
|
||||||
|
showEnvVarsInLog = 0;
|
||||||
|
};
|
||||||
9740EEB61CF901F6004384FC /* Run Script */ = {
|
9740EEB61CF901F6004384FC /* Run Script */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
alwaysOutOfDate = 1;
|
alwaysOutOfDate = 1;
|
||||||
|
@ -253,6 +362,23 @@
|
||||||
shellPath = /bin/sh;
|
shellPath = /bin/sh;
|
||||||
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
|
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
|
||||||
};
|
};
|
||||||
|
CEE4F69E86661AF91811D264 /* [CP] Copy Pods Resources */ = {
|
||||||
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
inputFileListPaths = (
|
||||||
|
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
|
||||||
|
);
|
||||||
|
name = "[CP] Copy Pods Resources";
|
||||||
|
outputFileListPaths = (
|
||||||
|
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
shellPath = /bin/sh;
|
||||||
|
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
|
||||||
|
showEnvVarsInLog = 0;
|
||||||
|
};
|
||||||
/* End PBXShellScriptBuildPhase section */
|
/* End PBXShellScriptBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
/* Begin PBXSourcesBuildPhase section */
|
||||||
|
@ -378,6 +504,7 @@
|
||||||
};
|
};
|
||||||
331C8088294A63A400263BE5 /* Debug */ = {
|
331C8088294A63A400263BE5 /* Debug */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
|
baseConfigurationReference = C69CB8769C23B62B371F7EF8 /* Pods-RunnerTests.debug.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
BUNDLE_LOADER = "$(TEST_HOST)";
|
BUNDLE_LOADER = "$(TEST_HOST)";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
|
@ -395,6 +522,7 @@
|
||||||
};
|
};
|
||||||
331C8089294A63A400263BE5 /* Release */ = {
|
331C8089294A63A400263BE5 /* Release */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
|
baseConfigurationReference = BA275946E6DD86B40F4D9856 /* Pods-RunnerTests.release.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
BUNDLE_LOADER = "$(TEST_HOST)";
|
BUNDLE_LOADER = "$(TEST_HOST)";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
|
@ -410,6 +538,7 @@
|
||||||
};
|
};
|
||||||
331C808A294A63A400263BE5 /* Profile */ = {
|
331C808A294A63A400263BE5 /* Profile */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
|
baseConfigurationReference = B68D6BBDE2D7389DD16E4C35 /* Pods-RunnerTests.profile.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
BUNDLE_LOADER = "$(TEST_HOST)";
|
BUNDLE_LOADER = "$(TEST_HOST)";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
|
@ -541,6 +670,7 @@
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
|
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
|
||||||
|
DEVELOPMENT_TEAM = 69ERN967NS;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
INFOPLIST_FILE = Runner/Info.plist;
|
INFOPLIST_FILE = Runner/Info.plist;
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
LD_RUNPATH_SEARCH_PATHS = (
|
||||||
|
|
|
@ -4,4 +4,7 @@
|
||||||
<FileRef
|
<FileRef
|
||||||
location = "group:Runner.xcodeproj">
|
location = "group:Runner.xcodeproj">
|
||||||
</FileRef>
|
</FileRef>
|
||||||
|
<FileRef
|
||||||
|
location = "group:Pods/Pods.xcodeproj">
|
||||||
|
</FileRef>
|
||||||
</Workspace>
|
</Workspace>
|
||||||
|
|
|
@ -473,8 +473,7 @@ class _EditInteractionScreenState extends State<EditInteractionScreen> {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
: Expanded(
|
: Padding(
|
||||||
child: Padding(
|
|
||||||
padding: const EdgeInsets.only(left: 8.0, right: 8.0),
|
padding: const EdgeInsets.only(left: 8.0, right: 8.0),
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
// width: isTablet ? 200 : MediaQuery.of(context).size.width,
|
// width: isTablet ? 200 : MediaQuery.of(context).size.width,
|
||||||
|
@ -494,7 +493,6 @@ class _EditInteractionScreenState extends State<EditInteractionScreen> {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
);
|
);
|
||||||
case InteractionWidget.DROPDOWN:
|
case InteractionWidget.DROPDOWN:
|
||||||
return customdropdown(sectionItem, provider, list, multiple);
|
return customdropdown(sectionItem, provider, list, multiple);
|
||||||
|
@ -655,7 +653,7 @@ class _EditInteractionScreenState extends State<EditInteractionScreen> {
|
||||||
Widget customdropdown(SectionList sectionItem,
|
Widget customdropdown(SectionList sectionItem,
|
||||||
ViewInteractionProvider provider, List<InputClass> list, bool multiple) {
|
ViewInteractionProvider provider, List<InputClass> list, bool multiple) {
|
||||||
// sectionItem.value = '';
|
// sectionItem.value = '';
|
||||||
print("%%%%${sectionItem.selectedValue!.last}");
|
// print("%%%%${sectionItem.selectedValue!.last}");
|
||||||
if (list.isEmpty) {
|
if (list.isEmpty) {
|
||||||
print("###list empty###");
|
print("###list empty###");
|
||||||
list = [];
|
list = [];
|
||||||
|
@ -1034,7 +1032,7 @@ class _EditInteractionScreenState extends State<EditInteractionScreen> {
|
||||||
? provider.getData2(sectionItem)
|
? provider.getData2(sectionItem)
|
||||||
: [];
|
: [];
|
||||||
|
|
||||||
return Wrap(children: [
|
return Wrap(runAlignment: WrapAlignment.spaceEvenly, children: [
|
||||||
Column(
|
Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
|
|
|
@ -509,7 +509,7 @@ class _InteractionScreenState extends State<InteractionScreen> {
|
||||||
controller: sectionItem.controller!,
|
controller: sectionItem.controller!,
|
||||||
labelText: sectionItem.name,
|
labelText: sectionItem.name,
|
||||||
onChanged: (val) {
|
onChanged: (val) {
|
||||||
sectionItem.selectedValue = [];
|
sectionItem.selectedValue!.clear();
|
||||||
provider.setTextValue(val, sectionItem, multiple);
|
provider.setTextValue(val, sectionItem, multiple);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
@ -1059,16 +1059,29 @@ class _InteractionScreenState extends State<InteractionScreen> {
|
||||||
Orientation orientation,
|
Orientation orientation,
|
||||||
FormFieldData item,
|
FormFieldData item,
|
||||||
int listIndex) {
|
int listIndex) {
|
||||||
|
List<String> items = [];
|
||||||
|
|
||||||
|
for (var obj in sectionList) {
|
||||||
|
items.add(obj.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, int> count = {};
|
||||||
|
for (var i in items) {
|
||||||
|
count[i] = (count[i] ?? 0) + 1;
|
||||||
|
}
|
||||||
|
print(count['delete']);
|
||||||
|
|
||||||
return Padding(
|
return Padding(
|
||||||
padding: isTablet
|
padding: isTablet
|
||||||
? const EdgeInsets.only(left: 8.0)
|
? const EdgeInsets.only(left: 8.0)
|
||||||
: const EdgeInsets.only(left: 12.0, right: 12.0),
|
: const EdgeInsets.only(left: 12.0, right: 12.0),
|
||||||
|
child: Card(
|
||||||
child: GridView.count(
|
child: GridView.count(
|
||||||
physics: const NeverScrollableScrollPhysics(),
|
physics: const NeverScrollableScrollPhysics(),
|
||||||
crossAxisCount: context.responsive<int>(
|
crossAxisCount: context.responsive<int>(
|
||||||
1, // default
|
1, // default
|
||||||
sm: 1, // small
|
sm: 1, // small
|
||||||
md: 1, // medium
|
md: 2, // medium
|
||||||
lg: sectionList.length == 1 ? 1 : 4, // large
|
lg: sectionList.length == 1 ? 1 : 4, // large
|
||||||
xl: 5, // extra large screen
|
xl: 5, // extra large screen
|
||||||
),
|
),
|
||||||
|
@ -1079,7 +1092,7 @@ class _InteractionScreenState extends State<InteractionScreen> {
|
||||||
? orientation == Orientation.landscape
|
? orientation == Orientation.landscape
|
||||||
? 10
|
? 10
|
||||||
: 4.2
|
: 4.2
|
||||||
: 1.8,
|
: 3,
|
||||||
children: List.generate(
|
children: List.generate(
|
||||||
sectionList.length,
|
sectionList.length,
|
||||||
(i) {
|
(i) {
|
||||||
|
@ -1088,8 +1101,8 @@ class _InteractionScreenState extends State<InteractionScreen> {
|
||||||
dropdownvalue = sectionItem.widget == InteractionWidget.DROPDOWN
|
dropdownvalue = sectionItem.widget == InteractionWidget.DROPDOWN
|
||||||
? sectionItem.value ?? "Select"
|
? sectionItem.value ?? "Select"
|
||||||
: ' ';
|
: ' ';
|
||||||
List<InputClass> list =
|
List<InputClass> list = sectionItem.widget ==
|
||||||
sectionItem.widget == InteractionWidget.DROPDOWN ||
|
InteractionWidget.DROPDOWN ||
|
||||||
sectionItem.widget == InteractionWidget.AUTOCOMPLETE ||
|
sectionItem.widget == InteractionWidget.AUTOCOMPLETE ||
|
||||||
sectionItem.widget == InteractionWidget.MULTISELECT
|
sectionItem.widget == InteractionWidget.MULTISELECT
|
||||||
? provider.getData2(sectionItem)
|
? provider.getData2(sectionItem)
|
||||||
|
@ -1099,7 +1112,7 @@ class _InteractionScreenState extends State<InteractionScreen> {
|
||||||
? provider.getData2(sectionItem)
|
? provider.getData2(sectionItem)
|
||||||
: [];
|
: [];
|
||||||
|
|
||||||
return Wrap(children: [
|
return Wrap(runAlignment: WrapAlignment.spaceEvenly, children: [
|
||||||
Column(
|
Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
|
@ -1147,15 +1160,19 @@ class _InteractionScreenState extends State<InteractionScreen> {
|
||||||
: "Files Uploaded"
|
: "Files Uploaded"
|
||||||
: 'No file uploaded',
|
: 'No file uploaded',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color:
|
color: sectionItem
|
||||||
sectionItem.selectedValue!.isNotEmpty
|
.selectedValue!.isNotEmpty
|
||||||
? Colors.green
|
? Colors.green
|
||||||
: Colors.red),
|
: Colors.red),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
: isTablet
|
: isTablet
|
||||||
? IconButton(
|
? Row(
|
||||||
|
children: [
|
||||||
|
Expanded(
|
||||||
|
// width: MediaQuery.of(context).size.width,
|
||||||
|
child: IconButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
provider.deleteMultipleRows(
|
provider.deleteMultipleRows(
|
||||||
sectionItem.gid!,
|
sectionItem.gid!,
|
||||||
|
@ -1167,12 +1184,16 @@ class _InteractionScreenState extends State<InteractionScreen> {
|
||||||
icon: const Icon(
|
icon: const Icon(
|
||||||
Icons.cancel,
|
Icons.cancel,
|
||||||
size: 30,
|
size: 30,
|
||||||
color: Color.fromARGB(255, 8, 39, 92),
|
color:
|
||||||
|
Color.fromARGB(255, 8, 39, 92),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
)
|
)
|
||||||
: Padding(
|
: Padding(
|
||||||
padding:
|
padding: const EdgeInsets.only(
|
||||||
const EdgeInsets.only(left: 3.0, top: 5),
|
left: 3.0, top: 5),
|
||||||
child: CustomButton(
|
child: CustomButton(
|
||||||
backgroundColor: const Color.fromARGB(
|
backgroundColor: const Color.fromARGB(
|
||||||
255, 233, 75, 75),
|
255, 233, 75, 75),
|
||||||
|
@ -1211,6 +1232,7 @@ class _InteractionScreenState extends State<InteractionScreen> {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -246,8 +246,8 @@ class InteractionProvider extends ChangeNotifier {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for (var obj in interactionReponseList) {
|
for (var obj in interactionReponseList) {
|
||||||
if (multiple && obj.multipleList != null) {
|
if (multiple && obj.multipleList != null) {
|
||||||
i = obj.multipleList!
|
i = obj.multipleList!.indexWhere((element) =>
|
||||||
.indexWhere((element) => element.id == sectionItem.id);
|
element.id == sectionItem.id && element.gid == sectionItem.gid);
|
||||||
if (i != -1) {
|
if (i != -1) {
|
||||||
obj.multipleList![i].value = value;
|
obj.multipleList![i].value = value;
|
||||||
obj.multipleList![i].selectedValue!.add(value);
|
obj.multipleList![i].selectedValue!.add(value);
|
||||||
|
@ -420,7 +420,7 @@ class InteractionProvider extends ChangeNotifier {
|
||||||
List<SectionList> addList = [];
|
List<SectionList> addList = [];
|
||||||
int index = interactionReponseList
|
int index = interactionReponseList
|
||||||
.indexWhere((element) => element.sectionName == sectionName);
|
.indexWhere((element) => element.sectionName == sectionName);
|
||||||
|
var textEditingController = TextEditingController();
|
||||||
addList = interactionReponseList[index]
|
addList = interactionReponseList[index]
|
||||||
.sectionList
|
.sectionList
|
||||||
.map((e) => SectionList(
|
.map((e) => SectionList(
|
||||||
|
@ -450,6 +450,17 @@ class InteractionProvider extends ChangeNotifier {
|
||||||
|
|
||||||
addList.add(delItem);
|
addList.add(delItem);
|
||||||
|
|
||||||
|
for (SectionList obj in addList) {
|
||||||
|
//obj.gid = obj.gid ?? addList.length;
|
||||||
|
if (obj.widget == InteractionWidget.TEXT) {
|
||||||
|
// multipletextEditingControllerList.clear();
|
||||||
|
var textEditingController = TextEditingController();
|
||||||
|
obj.controller = textEditingController;
|
||||||
|
multipletextEditingControllerList.add(textEditingController);
|
||||||
|
}
|
||||||
|
// newList.add(obj);
|
||||||
|
}
|
||||||
|
|
||||||
// if (interactionReponseList[index].multipleList!.isEmpty) {
|
// if (interactionReponseList[index].multipleList!.isEmpty) {
|
||||||
// newList = addList;
|
// newList = addList;
|
||||||
// } else {
|
// } else {
|
||||||
|
@ -466,12 +477,12 @@ class InteractionProvider extends ChangeNotifier {
|
||||||
if (interactionReponseList[index].multipleList != null) {
|
if (interactionReponseList[index].multipleList != null) {
|
||||||
for (SectionList obj in interactionReponseList[index].multipleList!) {
|
for (SectionList obj in interactionReponseList[index].multipleList!) {
|
||||||
obj.gid = obj.gid ?? interactionReponseList[index].multipleList!.length;
|
obj.gid = obj.gid ?? interactionReponseList[index].multipleList!.length;
|
||||||
if (obj.widget == InteractionWidget.TEXT) {
|
// if (obj.widget == InteractionWidget.TEXT) {
|
||||||
var textEditingController = TextEditingController();
|
// var textEditingController = TextEditingController();
|
||||||
|
|
||||||
multipletextEditingControllerList.add(textEditingController);
|
// multipletextEditingControllerList.add(textEditingController);
|
||||||
obj.controller = multipletextEditingControllerList.last;
|
// obj.controller = multipletextEditingControllerList.last;
|
||||||
}
|
// }
|
||||||
//newList.add(obj);
|
//newList.add(obj);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -525,6 +536,12 @@ class InteractionProvider extends ChangeNotifier {
|
||||||
Future<String> saveJsonObject(BuildContext context, String form,
|
Future<String> saveJsonObject(BuildContext context, String form,
|
||||||
{bool isEdit = false}) async {
|
{bool isEdit = false}) async {
|
||||||
print("form_data: $form");
|
print("form_data: $form");
|
||||||
|
// for (var ob in interactionReponseList) {
|
||||||
|
|
||||||
|
// for (var ob2 in ob.multipleList!) {
|
||||||
|
// debugPrint("!!!!!!!!!!!!In multiple :${ob2.selectedValue}");
|
||||||
|
// }
|
||||||
|
// }
|
||||||
List<FormFieldData> resultData = interactionReponseList
|
List<FormFieldData> resultData = interactionReponseList
|
||||||
.map((e) => FormFieldData(
|
.map((e) => FormFieldData(
|
||||||
multipleList: e.multipleList == null
|
multipleList: e.multipleList == null
|
||||||
|
|
|
@ -286,8 +286,10 @@ class _ViewInteractionScreenState extends State<ViewInteractionScreen> {
|
||||||
sectionItem.id, sectionItem.selectedValue!.last));
|
sectionItem.id, sectionItem.selectedValue!.last));
|
||||||
|
|
||||||
case InteractionWidget.AUTOCOMPLETE:
|
case InteractionWidget.AUTOCOMPLETE:
|
||||||
return Text(provider.getDataValue(
|
return Text(sectionItem.selectedValue!.isNotEmpty
|
||||||
sectionItem.id, sectionItem.selectedValue!.last));
|
? provider.getDataValue(
|
||||||
|
sectionItem.id, sectionItem.selectedValue!.last)
|
||||||
|
: " ");
|
||||||
|
|
||||||
case InteractionWidget.MULTISELECT:
|
case InteractionWidget.MULTISELECT:
|
||||||
return Text(sectionItem.selectedValue.toString());
|
return Text(sectionItem.selectedValue.toString());
|
||||||
|
@ -320,6 +322,11 @@ class _ViewInteractionScreenState extends State<ViewInteractionScreen> {
|
||||||
? const Text("File Uploaded")
|
? const Text("File Uploaded")
|
||||||
: const Text(" ")
|
: const Text(" ")
|
||||||
: const Text(" ");
|
: const Text(" ");
|
||||||
|
case InteractionWidget.DROPDOWN:
|
||||||
|
return Text(sectionItem.selectedValue!.isNotEmpty
|
||||||
|
? provider.getDataValue(
|
||||||
|
sectionItem.id, sectionItem.selectedValue!.last)
|
||||||
|
: " ");
|
||||||
default:
|
default:
|
||||||
return Text(sectionItem.selectedValue!.isNotEmpty
|
return Text(sectionItem.selectedValue!.isNotEmpty
|
||||||
? provider.getDataValue(
|
? provider.getDataValue(
|
||||||
|
|
|
@ -140,13 +140,22 @@ class ViewInteractionProvider extends ChangeNotifier {
|
||||||
|
|
||||||
for (SectionList obj in item.multipleList!) {
|
for (SectionList obj in item.multipleList!) {
|
||||||
obj.gid = obj.gid ?? item.multipleList!.length;
|
obj.gid = obj.gid ?? item.multipleList!.length;
|
||||||
|
|
||||||
if (obj.widget == InteractionWidget.TEXT) {
|
if (obj.widget == InteractionWidget.TEXT) {
|
||||||
|
debugPrint("textcontr:${obj.gid}");
|
||||||
|
debugPrint("textcontr:${obj.selectedValue}");
|
||||||
|
// debugPrint("textcontr:${obj.controller!.value}");
|
||||||
var textEditingController = TextEditingController();
|
var textEditingController = TextEditingController();
|
||||||
|
textEditingController.value = TextEditingValue(
|
||||||
|
text: obj.selectedValue!.isNotEmpty
|
||||||
|
? obj.selectedValue!.last ?? ""
|
||||||
|
: "");
|
||||||
textEditingController.text = obj.selectedValue!.isNotEmpty
|
textEditingController.text = obj.selectedValue!.isNotEmpty
|
||||||
? obj.selectedValue!.last ?? ""
|
? obj.selectedValue!.last ?? ""
|
||||||
: "";
|
: "";
|
||||||
multipletextEditingControllerList.add(textEditingController);
|
multipletextEditingControllerList.add(textEditingController);
|
||||||
obj.controller = multipletextEditingControllerList.last;
|
// obj.controller!.value = textEditingController.value;
|
||||||
|
obj.controller = textEditingController;
|
||||||
// obj.controller = obj.selectedValue.last ?? " ";
|
// obj.controller = obj.selectedValue.last ?? " ";
|
||||||
}
|
}
|
||||||
if (obj.widget == InteractionWidget.DROPDOWN ||
|
if (obj.widget == InteractionWidget.DROPDOWN ||
|
||||||
|
@ -608,6 +617,23 @@ class ViewInteractionProvider extends ChangeNotifier {
|
||||||
// if (interactionReponseList[index].multipleList!.isEmpty) {
|
// if (interactionReponseList[index].multipleList!.isEmpty) {
|
||||||
// newList = addList;
|
// newList = addList;
|
||||||
// } else {
|
// } else {
|
||||||
|
|
||||||
|
if (addList.isNotEmpty) {
|
||||||
|
for (SectionList obj in addList) {
|
||||||
|
// obj.gid = obj.gid ?? addList.length;
|
||||||
|
if (obj.widget == InteractionWidget.TEXT) {
|
||||||
|
var textEditingController = TextEditingController();
|
||||||
|
|
||||||
|
multipletextEditingControllerList.add(textEditingController);
|
||||||
|
obj.controller = multipletextEditingControllerList.last;
|
||||||
|
obj.controller!.text =
|
||||||
|
obj.selectedValue != null && obj.selectedValue!.isNotEmpty
|
||||||
|
? obj.selectedValue!.last
|
||||||
|
: '';
|
||||||
|
}
|
||||||
|
// newList.add(obj);
|
||||||
|
}
|
||||||
|
}
|
||||||
if (interactionReponseList[index].multipleList == null) {
|
if (interactionReponseList[index].multipleList == null) {
|
||||||
interactionReponseList[index].multipleList = addList;
|
interactionReponseList[index].multipleList = addList;
|
||||||
} else {
|
} else {
|
||||||
|
@ -622,10 +648,6 @@ class ViewInteractionProvider extends ChangeNotifier {
|
||||||
for (SectionList obj in interactionReponseList[index].multipleList!) {
|
for (SectionList obj in interactionReponseList[index].multipleList!) {
|
||||||
obj.gid = obj.gid ?? interactionReponseList[index].multipleList!.length;
|
obj.gid = obj.gid ?? interactionReponseList[index].multipleList!.length;
|
||||||
if (obj.widget == InteractionWidget.TEXT) {
|
if (obj.widget == InteractionWidget.TEXT) {
|
||||||
var textEditingController = TextEditingController();
|
|
||||||
|
|
||||||
multipletextEditingControllerList.add(textEditingController);
|
|
||||||
obj.controller = multipletextEditingControllerList.last;
|
|
||||||
obj.controller!.text =
|
obj.controller!.text =
|
||||||
obj.selectedValue != null && obj.selectedValue!.isNotEmpty
|
obj.selectedValue != null && obj.selectedValue!.isNotEmpty
|
||||||
? obj.selectedValue!.last
|
? obj.selectedValue!.last
|
||||||
|
@ -653,6 +675,14 @@ class ViewInteractionProvider extends ChangeNotifier {
|
||||||
|
|
||||||
saveJsonObject(BuildContext context, String form,
|
saveJsonObject(BuildContext context, String form,
|
||||||
SaveInteraction saveInteraction) async {
|
SaveInteraction saveInteraction) async {
|
||||||
|
for (var res in interactionReponseList) {
|
||||||
|
for (var sec in res.sectionList) {
|
||||||
|
debugPrint("print ${sec.selectedValue}");
|
||||||
|
}
|
||||||
|
for (var sec in res.multipleList!) {
|
||||||
|
debugPrint("printmultiple ${sec.selectedValue}");
|
||||||
|
}
|
||||||
|
}
|
||||||
List<FormFieldData> resultData = interactionReponseList
|
List<FormFieldData> resultData = interactionReponseList
|
||||||
.map((e) => FormFieldData(
|
.map((e) => FormFieldData(
|
||||||
multipleList: e.multipleList == null
|
multipleList: e.multipleList == null
|
||||||
|
|
|
@ -42,6 +42,9 @@ class InteractionTextField extends StatelessWidget {
|
||||||
onChanged: (value) {
|
onChanged: (value) {
|
||||||
onChanged(value);
|
onChanged(value);
|
||||||
},
|
},
|
||||||
|
onSubmitted: (value) {
|
||||||
|
onChanged(value);
|
||||||
|
},
|
||||||
inputFormatters: [
|
inputFormatters: [
|
||||||
inputType == TextInputType.number
|
inputType == TextInputType.number
|
||||||
? FilteringTextInputFormatter.digitsOnly
|
? FilteringTextInputFormatter.digitsOnly
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
|
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
|
||||||
#include "ephemeral/Flutter-Generated.xcconfig"
|
#include "ephemeral/Flutter-Generated.xcconfig"
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
|
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||||
#include "ephemeral/Flutter-Generated.xcconfig"
|
#include "ephemeral/Flutter-Generated.xcconfig"
|
||||||
|
|
|
@ -0,0 +1,43 @@
|
||||||
|
platform :osx, '10.14'
|
||||||
|
|
||||||
|
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
|
||||||
|
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
|
||||||
|
|
||||||
|
project 'Runner', {
|
||||||
|
'Debug' => :debug,
|
||||||
|
'Profile' => :release,
|
||||||
|
'Release' => :release,
|
||||||
|
}
|
||||||
|
|
||||||
|
def flutter_root
|
||||||
|
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__)
|
||||||
|
unless File.exist?(generated_xcode_build_settings_path)
|
||||||
|
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first"
|
||||||
|
end
|
||||||
|
|
||||||
|
File.foreach(generated_xcode_build_settings_path) do |line|
|
||||||
|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
|
||||||
|
return matches[1].strip if matches
|
||||||
|
end
|
||||||
|
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\""
|
||||||
|
end
|
||||||
|
|
||||||
|
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
|
||||||
|
|
||||||
|
flutter_macos_podfile_setup
|
||||||
|
|
||||||
|
target 'Runner' do
|
||||||
|
use_frameworks!
|
||||||
|
use_modular_headers!
|
||||||
|
|
||||||
|
flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__))
|
||||||
|
target 'RunnerTests' do
|
||||||
|
inherit! :search_paths
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
post_install do |installer|
|
||||||
|
installer.pods_project.targets.each do |target|
|
||||||
|
flutter_additional_macos_build_settings(target)
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue