V podstate jazyky ready
This commit is contained in:
parent
887900c627
commit
60033b4c45
17 changed files with 432 additions and 191 deletions
82
.gitignore
vendored
82
.gitignore
vendored
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
# Created by https://www.toptal.com/developers/gitignore/api/flutter,visualstudiocode,windows
|
# Created by https://www.toptal.com/developers/gitignore/api/flutter,linux,macos,visualstudiocode
|
||||||
# Edit at https://www.toptal.com/developers/gitignore?templates=flutter,visualstudiocode,windows
|
# Edit at https://www.toptal.com/developers/gitignore?templates=flutter,linux,macos,visualstudiocode
|
||||||
|
|
||||||
### Flutter ###
|
### Flutter ###
|
||||||
# Flutter/Dart/Pub related
|
# Flutter/Dart/Pub related
|
||||||
|
@ -66,6 +66,54 @@ lib/generated_plugin_registrant.dart
|
||||||
!**/ios/**/default.perspectivev3
|
!**/ios/**/default.perspectivev3
|
||||||
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
|
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
|
||||||
|
|
||||||
|
### Linux ###
|
||||||
|
*~
|
||||||
|
|
||||||
|
# temporary files which can be created if a process still has a handle open of a deleted file
|
||||||
|
.fuse_hidden*
|
||||||
|
|
||||||
|
# KDE directory preferences
|
||||||
|
.directory
|
||||||
|
|
||||||
|
# Linux trash folder which might appear on any partition or disk
|
||||||
|
.Trash-*
|
||||||
|
|
||||||
|
# .nfs files are created when an open file is removed but is still being accessed
|
||||||
|
.nfs*
|
||||||
|
|
||||||
|
### macOS ###
|
||||||
|
# General
|
||||||
|
.DS_Store
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
|
||||||
|
# Icon must end with two \r
|
||||||
|
Icon
|
||||||
|
|
||||||
|
|
||||||
|
# Thumbnails
|
||||||
|
._*
|
||||||
|
|
||||||
|
# Files that might appear in the root of a volume
|
||||||
|
.DocumentRevisions-V100
|
||||||
|
.fseventsd
|
||||||
|
.Spotlight-V100
|
||||||
|
.TemporaryItems
|
||||||
|
.Trashes
|
||||||
|
.VolumeIcon.icns
|
||||||
|
.com.apple.timemachine.donotpresent
|
||||||
|
|
||||||
|
# Directories potentially created on remote AFP share
|
||||||
|
.AppleDB
|
||||||
|
.AppleDesktop
|
||||||
|
Network Trash Folder
|
||||||
|
Temporary Items
|
||||||
|
.apdisk
|
||||||
|
|
||||||
|
### macOS Patch ###
|
||||||
|
# iCloud generated files
|
||||||
|
*.icloud
|
||||||
|
|
||||||
### VisualStudioCode ###
|
### VisualStudioCode ###
|
||||||
.vscode/*
|
.vscode/*
|
||||||
!.vscode/settings.json
|
!.vscode/settings.json
|
||||||
|
@ -86,31 +134,9 @@ lib/generated_plugin_registrant.dart
|
||||||
.ionide
|
.ionide
|
||||||
|
|
||||||
# Support for Project snippet scope
|
# Support for Project snippet scope
|
||||||
|
.vscode/*.code-snippets
|
||||||
|
|
||||||
### Windows ###
|
# Ignore code-workspaces
|
||||||
# Windows thumbnail cache files
|
*.code-workspace
|
||||||
Thumbs.db
|
|
||||||
Thumbs.db:encryptable
|
|
||||||
ehthumbs.db
|
|
||||||
ehthumbs_vista.db
|
|
||||||
|
|
||||||
# Dump file
|
# End of https://www.toptal.com/developers/gitignore/api/flutter,linux,macos,visualstudiocode
|
||||||
*.stackdump
|
|
||||||
|
|
||||||
# Folder config file
|
|
||||||
[Dd]esktop.ini
|
|
||||||
|
|
||||||
# Recycle Bin used on file shares
|
|
||||||
$RECYCLE.BIN/
|
|
||||||
|
|
||||||
# Windows Installer files
|
|
||||||
*.cab
|
|
||||||
*.msi
|
|
||||||
*.msix
|
|
||||||
*.msm
|
|
||||||
*.msp
|
|
||||||
|
|
||||||
# Windows shortcuts
|
|
||||||
*.lnk
|
|
||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/flutter,visualstudiocode,windows
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
41
ios/Podfile
Normal file
41
ios/Podfile
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# Uncomment this line to define a global platform for your project
|
||||||
|
# platform :ios, '9.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__))
|
||||||
|
end
|
||||||
|
|
||||||
|
post_install do |installer|
|
||||||
|
installer.pods_project.targets.each do |target|
|
||||||
|
flutter_additional_ios_build_settings(target)
|
||||||
|
end
|
||||||
|
end
|
53
ios/Podfile.lock
Normal file
53
ios/Podfile.lock
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
PODS:
|
||||||
|
- connectivity_plus (0.0.1):
|
||||||
|
- Flutter
|
||||||
|
- ReachabilitySwift
|
||||||
|
- Flutter (1.0.0)
|
||||||
|
- flutter_secure_storage (3.3.1):
|
||||||
|
- Flutter
|
||||||
|
- path_provider_ios (0.0.1):
|
||||||
|
- Flutter
|
||||||
|
- ReachabilitySwift (5.0.0)
|
||||||
|
- shared_preferences_ios (0.0.1):
|
||||||
|
- Flutter
|
||||||
|
- url_launcher_ios (0.0.1):
|
||||||
|
- Flutter
|
||||||
|
|
||||||
|
DEPENDENCIES:
|
||||||
|
- connectivity_plus (from `.symlinks/plugins/connectivity_plus/ios`)
|
||||||
|
- Flutter (from `Flutter`)
|
||||||
|
- flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
|
||||||
|
- path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`)
|
||||||
|
- shared_preferences_ios (from `.symlinks/plugins/shared_preferences_ios/ios`)
|
||||||
|
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
|
||||||
|
|
||||||
|
SPEC REPOS:
|
||||||
|
trunk:
|
||||||
|
- ReachabilitySwift
|
||||||
|
|
||||||
|
EXTERNAL SOURCES:
|
||||||
|
connectivity_plus:
|
||||||
|
:path: ".symlinks/plugins/connectivity_plus/ios"
|
||||||
|
Flutter:
|
||||||
|
:path: Flutter
|
||||||
|
flutter_secure_storage:
|
||||||
|
:path: ".symlinks/plugins/flutter_secure_storage/ios"
|
||||||
|
path_provider_ios:
|
||||||
|
:path: ".symlinks/plugins/path_provider_ios/ios"
|
||||||
|
shared_preferences_ios:
|
||||||
|
:path: ".symlinks/plugins/shared_preferences_ios/ios"
|
||||||
|
url_launcher_ios:
|
||||||
|
:path: ".symlinks/plugins/url_launcher_ios/ios"
|
||||||
|
|
||||||
|
SPEC CHECKSUMS:
|
||||||
|
connectivity_plus: 413a8857dd5d9f1c399a39130850d02fe0feaf7e
|
||||||
|
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
|
||||||
|
flutter_secure_storage: 7953c38a04c3fdbb00571bcd87d8e3b5ceb9daec
|
||||||
|
path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02
|
||||||
|
ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825
|
||||||
|
shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad
|
||||||
|
url_launcher_ios: 839c58cdb4279282219f5e248c3321761ff3c4de
|
||||||
|
|
||||||
|
PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
|
||||||
|
|
||||||
|
COCOAPODS: 1.11.3
|
|
@ -13,6 +13,7 @@
|
||||||
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
|
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
|
||||||
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
|
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
|
||||||
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
|
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
|
||||||
|
ECEF07EFF70219039EC91A16 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E7322157B64E41A54727F1B5 /* Pods_Runner.framework */; };
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXCopyFilesBuildPhase section */
|
/* Begin PBXCopyFilesBuildPhase section */
|
||||||
|
@ -42,6 +43,10 @@
|
||||||
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>"; };
|
||||||
|
B2721B88A12E59F3457F19ED /* 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>"; };
|
||||||
|
BC9FB05A1DCF7C7EFD0E5EBB /* 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>"; };
|
||||||
|
DBABB66BE912BBC3B3B3D706 /* 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>"; };
|
||||||
|
E7322157B64E41A54727F1B5 /* 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 */
|
||||||
|
@ -49,12 +54,32 @@
|
||||||
isa = PBXFrameworksBuildPhase;
|
isa = PBXFrameworksBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
|
ECEF07EFF70219039EC91A16 /* Pods_Runner.framework in Frameworks */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
/* End PBXFrameworksBuildPhase section */
|
/* End PBXFrameworksBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
/* Begin PBXGroup section */
|
||||||
|
1CA2C3BE126DAC67B3E72712 /* Pods */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
B2721B88A12E59F3457F19ED /* Pods-Runner.debug.xcconfig */,
|
||||||
|
DBABB66BE912BBC3B3B3D706 /* Pods-Runner.release.xcconfig */,
|
||||||
|
BC9FB05A1DCF7C7EFD0E5EBB /* Pods-Runner.profile.xcconfig */,
|
||||||
|
);
|
||||||
|
name = Pods;
|
||||||
|
path = Pods;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
8E9103B40D6588B574AD43FA /* Frameworks */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
E7322157B64E41A54727F1B5 /* Pods_Runner.framework */,
|
||||||
|
);
|
||||||
|
name = Frameworks;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
9740EEB11CF90186004384FC /* Flutter */ = {
|
9740EEB11CF90186004384FC /* Flutter */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
@ -72,6 +97,8 @@
|
||||||
9740EEB11CF90186004384FC /* Flutter */,
|
9740EEB11CF90186004384FC /* Flutter */,
|
||||||
97C146F01CF9000F007C117D /* Runner */,
|
97C146F01CF9000F007C117D /* Runner */,
|
||||||
97C146EF1CF9000F007C117D /* Products */,
|
97C146EF1CF9000F007C117D /* Products */,
|
||||||
|
1CA2C3BE126DAC67B3E72712 /* Pods */,
|
||||||
|
8E9103B40D6588B574AD43FA /* Frameworks */,
|
||||||
);
|
);
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
|
@ -105,12 +132,14 @@
|
||||||
isa = PBXNativeTarget;
|
isa = PBXNativeTarget;
|
||||||
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
|
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
|
||||||
buildPhases = (
|
buildPhases = (
|
||||||
|
3A5C4CD1EE7C597400A4EF9C /* [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 */,
|
||||||
|
C63F8C1A7AF68913C333DE72 /* [CP] Embed Pods Frameworks */,
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
);
|
);
|
||||||
|
@ -169,6 +198,28 @@
|
||||||
/* End PBXResourcesBuildPhase section */
|
/* End PBXResourcesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXShellScriptBuildPhase section */
|
/* Begin PBXShellScriptBuildPhase section */
|
||||||
|
3A5C4CD1EE7C597400A4EF9C /* [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;
|
||||||
|
};
|
||||||
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
|
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
|
@ -197,6 +248,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";
|
||||||
};
|
};
|
||||||
|
C63F8C1A7AF68913C333DE72 /* [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;
|
||||||
|
};
|
||||||
/* End PBXShellScriptBuildPhase section */
|
/* End PBXShellScriptBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
/* Begin PBXSourcesBuildPhase section */
|
||||||
|
@ -478,4 +546,4 @@
|
||||||
/* End XCConfigurationList section */
|
/* End XCConfigurationList section */
|
||||||
};
|
};
|
||||||
rootObject = 97C146E61CF9000F007C117D /* Project object */;
|
rootObject = 97C146E61CF9000F007C117D /* Project object */;
|
||||||
}
|
}
|
||||||
|
|
3
ios/Runner.xcworkspace/contents.xcworkspacedata
generated
3
ios/Runner.xcworkspace/contents.xcworkspacedata
generated
|
@ -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>
|
||||||
|
|
|
@ -2,6 +2,11 @@
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
|
<key>CFBundleLocalizations</key>
|
||||||
|
<array>
|
||||||
|
<string>Czech</string>
|
||||||
|
<string>en</string>
|
||||||
|
</array>
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
|
@ -43,5 +48,7 @@
|
||||||
</array>
|
</array>
|
||||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||||
<false/>
|
<false/>
|
||||||
|
<key>CADisableMinimumFrameDurationOnPhone</key>
|
||||||
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
|
@ -7,6 +7,8 @@ abstract class Languages {
|
||||||
|
|
||||||
String get appName;
|
String get appName;
|
||||||
|
|
||||||
|
String get home;
|
||||||
|
|
||||||
// Login
|
// Login
|
||||||
|
|
||||||
String get errorContacting;
|
String get errorContacting;
|
||||||
|
@ -37,6 +39,8 @@ abstract class Languages {
|
||||||
|
|
||||||
String get loginFailed;
|
String get loginFailed;
|
||||||
|
|
||||||
|
String get warning;
|
||||||
|
|
||||||
// Jídelníček
|
// Jídelníček
|
||||||
|
|
||||||
String get loading;
|
String get loading;
|
||||||
|
@ -99,6 +103,10 @@ abstract class Languages {
|
||||||
|
|
||||||
String get order;
|
String get order;
|
||||||
|
|
||||||
|
// About
|
||||||
|
|
||||||
|
String get usedLibs;
|
||||||
|
|
||||||
// Settings
|
// Settings
|
||||||
|
|
||||||
String get settings;
|
String get settings;
|
||||||
|
|
|
@ -38,6 +38,9 @@ class LanguageCz extends Languages {
|
||||||
@override
|
@override
|
||||||
String get friday => "Pátek";
|
String get friday => "Pátek";
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get home => "Domů";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get httpLogin =>
|
String get httpLogin =>
|
||||||
"Snažíte se přihlásit přes nešifrované spojení HTTP, jste si jisti, že tak chcete učinit?";
|
"Snažíte se přihlásit přes nešifrované spojení HTTP, jste si jisti, že tak chcete učinit?";
|
||||||
|
@ -130,12 +133,18 @@ class LanguageCz extends Languages {
|
||||||
@override
|
@override
|
||||||
String get tuesday => "Úterý";
|
String get tuesday => "Úterý";
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get usedLibs => "Použité knihovny:";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get username => "Uživatelské jméno";
|
String get username => "Uživatelské jméno";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get verifyExchange => "Opravdu chcete vložit jídlo na burzu?";
|
String get verifyExchange => "Opravdu chcete vložit jídlo na burzu?";
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get warning => "Pozor!";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get wednesday => "Středa";
|
String get wednesday => "Středa";
|
||||||
|
|
||||||
|
|
|
@ -2,143 +2,153 @@ import 'package:opencanteen/lang/lang.dart';
|
||||||
|
|
||||||
class LanguageEn extends Languages {
|
class LanguageEn extends Languages {
|
||||||
@override
|
@override
|
||||||
String get about => "O Aplikaci";
|
String get about => "About";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get agree => "Souhlasím";
|
String get agree => "I agree";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get appName => "OpenCanteen";
|
String get appName => "OpenCanteen";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get balance => "Kredit: ";
|
String get balance => "Balance: ";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get cannotOrder => "Nelze objednat";
|
String get cannotOrder => "Cannot order";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get close => "Zavřít";
|
String get close => "Close";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get disagree => "Nesouhlasím";
|
String get disagree => "I disagree";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get errorContacting =>
|
String get errorContacting =>
|
||||||
"Nastala chyba při kontaktování serveru, zkontrolujte připojení";
|
"Failed to contact the server, check your connection.";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get errorOrdering => "Jídlo se nepodařilo objednat";
|
String get errorOrdering => "Could not order food.";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get exchange => "Burza";
|
String get exchange => "Exchange";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get exchangeError => "Nepodařilo se vložit jídlo na burzu";
|
String get exchangeError => "Could not put food on exchange.";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get friday => "Pátek";
|
String get friday => "Friday";
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get home => "Home";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get httpLogin =>
|
String get httpLogin =>
|
||||||
"Snažíte se přihlásit přes nešifrované spojení HTTP, jste si jisti, že tak chcete učinit?";
|
"You are trying to sign in using an insecure HTTP connection, are you sure you want to continue?";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get iCanteenUrl => "iCanteen URL";
|
String get iCanteenUrl => "iCanteen URL";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get inExchange => "V BURZE";
|
String get inExchange => "ON EXCHANGE";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get loading => "Načítání...";
|
String get loading => "Loading...";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get logIn => "Přihlášení";
|
String get logIn => "Sign in";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get loggingIn => "Přihlašuji vás...";
|
String get loggingIn => "Signing you in...";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get loginFailed => "Přihlášení se nezdařilo";
|
String get loginFailed => "Sign in failed";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get menu => "Jídelníček";
|
String get menu => "Food Menu";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get monday => "Pondělí";
|
String get monday => "Monday";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get no => "Ne";
|
String get no => "No";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get noChange => "Ne, změnit";
|
String get noChange => "No, change";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get noExchange => "Žádné jídlo v burze";
|
String get noExchange => "No meal in exchange";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get noFood => "Žádné jídlo pro tento den";
|
String get noFood => "No meal for this day";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get notOfficial =>
|
String get notOfficial =>
|
||||||
"Toto není oficiální aplikace k ovládání iCanteen. Autor neručí za ztráty nebo nefunkčnost v souvislosti s používáním této aplikace. Tato zpráva se znovu neukáže.";
|
"This is not an official app for accessing iCanteen. The author is not responsible for non-functionality or losses while using this app. This message will not appear again.";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get ok => "OK";
|
String get ok => "OK";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get order => "Objednat";
|
String get order => "Order";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get orderSuccess => "Jídlo bylo úspěšně objednáno";
|
String get orderSuccess => "Meal ordered succesfully";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get ordered => "Objednáno";
|
String get ordered => "Ordered";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get ordering => "Objednávám...";
|
String get ordering => "Ordering...";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get password => "Heslo";
|
String get password => "Password";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get pullToReload => "Potáhněte zvrchu pro načtení";
|
String get pullToReload => "Pull to reload";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get rememberMe => "Zapamatovat si mě";
|
String get rememberMe => "Remember me";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get reportBugs => "Nahlásit chybu";
|
String get reportBugs => "Report bug";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get saturday => "Sobota";
|
String get saturday => "Saturday";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get saveOffline => "Ukládat jídelníček na dnešní den offline";
|
String get saveOffline => "Save today`s menu offline";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get settings => "Nastavení";
|
String get settings => "Settings";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get signOut => "Odhlásit se";
|
String get signOut => "Sign out";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get sunday => "Neděle";
|
String get sunday => "Sunday";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get thursday => "Čtvrtek";
|
String get thursday => "Thursday";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get tuesday => "Úterý";
|
String get tuesday => "Tuesday";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get username => "Uživatelské jméno";
|
String get usedLibs => "Used libraries:";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get verifyExchange => "Opravdu chcete vložit jídlo na burzu?";
|
String get username => "Username";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get wednesday => "Středa";
|
String get verifyExchange =>
|
||||||
|
"Are you sure you want to put this meal on exchange?";
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get yes => "Ano";
|
String get warning => "Warning!";
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get wednesday => "Wednesday";
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get yes => "Yes";
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,8 +43,8 @@ class MyApp extends StatelessWidget {
|
||||||
AppLocalizationsDelegate(),
|
AppLocalizationsDelegate(),
|
||||||
...GlobalMaterialLocalizations.delegates
|
...GlobalMaterialLocalizations.delegates
|
||||||
],
|
],
|
||||||
supportedLocales: const [Locale("cs"), Locale("en")],
|
supportedLocales: const [Locale("cs", ""), Locale("en", "")],
|
||||||
title: 'OpenCanteen',
|
title: "OpenCanteen",
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
primarySwatch: Colors.purple,
|
primarySwatch: Colors.purple,
|
||||||
),
|
),
|
||||||
|
@ -78,9 +78,8 @@ class _LoginPageState extends State<LoginPage> {
|
||||||
if (connectivityResult == ConnectivityResult.none) {
|
if (connectivityResult == ConnectivityResult.none) {
|
||||||
ScaffoldMessenger.of(context).hideCurrentSnackBar();
|
ScaffoldMessenger.of(context).hideCurrentSnackBar();
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
const SnackBar(
|
SnackBar(
|
||||||
content: Text(
|
content: Text(Languages.of(context)!.errorContacting),
|
||||||
"Nastala chyba při kontaktování serveru, zkontrolujte připojení"),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -92,12 +91,12 @@ class _LoginPageState extends State<LoginPage> {
|
||||||
builder: (_) => Dialog(
|
builder: (_) => Dialog(
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
height: 100,
|
height: 100,
|
||||||
child: Row(children: const [
|
child: Row(children: [
|
||||||
Padding(
|
const Padding(
|
||||||
padding: EdgeInsets.all(10),
|
padding: EdgeInsets.all(10),
|
||||||
child: CircularProgressIndicator(),
|
child: CircularProgressIndicator(),
|
||||||
),
|
),
|
||||||
Text("Přihlašuji vás")
|
Text(Languages.of(context)!.loggingIn)
|
||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
@ -106,8 +105,8 @@ class _LoginPageState extends State<LoginPage> {
|
||||||
if (!l) {
|
if (!l) {
|
||||||
ScaffoldMessenger.of(context).hideCurrentSnackBar();
|
ScaffoldMessenger.of(context).hideCurrentSnackBar();
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
const SnackBar(
|
SnackBar(
|
||||||
content: Text("Přihlášení se nezdařilo, zkontrolujte údaje"),
|
content: Text(Languages.of(context)!.loginFailed),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
|
@ -128,7 +127,7 @@ class _LoginPageState extends State<LoginPage> {
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: const Text("Přihlášení"),
|
title: Text(Languages.of(context)!.logIn),
|
||||||
automaticallyImplyLeading: false,
|
automaticallyImplyLeading: false,
|
||||||
),
|
),
|
||||||
body: Center(
|
body: Center(
|
||||||
|
@ -138,31 +137,33 @@ class _LoginPageState extends State<LoginPage> {
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
const Text(
|
Text(
|
||||||
'OpenCanteen',
|
Languages.of(context)!.logIn,
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: TextStyle(fontWeight: FontWeight.bold, fontSize: 40),
|
style: const TextStyle(
|
||||||
|
fontWeight: FontWeight.bold, fontSize: 40),
|
||||||
),
|
),
|
||||||
const Text(
|
Text(
|
||||||
'Přihlášení',
|
Languages.of(context)!.logIn,
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
TextField(
|
TextField(
|
||||||
controller: userControl,
|
controller: userControl,
|
||||||
autofillHints: const [AutofillHints.username],
|
autofillHints: const [AutofillHints.username],
|
||||||
decoration:
|
decoration: InputDecoration(
|
||||||
const InputDecoration(labelText: 'Uživatelské jméno'),
|
labelText: Languages.of(context)!.username),
|
||||||
),
|
),
|
||||||
TextField(
|
TextField(
|
||||||
autofillHints: const [AutofillHints.password],
|
autofillHints: const [AutofillHints.password],
|
||||||
decoration: const InputDecoration(labelText: 'Heslo'),
|
decoration: InputDecoration(
|
||||||
|
labelText: Languages.of(context)!.password),
|
||||||
controller: passControl,
|
controller: passControl,
|
||||||
obscureText: true,
|
obscureText: true,
|
||||||
),
|
),
|
||||||
TextField(
|
TextField(
|
||||||
autofillHints: const [AutofillHints.url],
|
autofillHints: const [AutofillHints.url],
|
||||||
decoration:
|
decoration: InputDecoration(
|
||||||
const InputDecoration(labelText: 'iCanteen URL'),
|
labelText: Languages.of(context)!.iCanteenUrl),
|
||||||
keyboardType: TextInputType.url,
|
keyboardType: TextInputType.url,
|
||||||
controller: canteenControl,
|
controller: canteenControl,
|
||||||
),
|
),
|
||||||
|
@ -174,7 +175,7 @@ class _LoginPageState extends State<LoginPage> {
|
||||||
rememberMe = value;
|
rememberMe = value;
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
const Text("Zapamatovat si mě")
|
Text(Languages.of(context)!.rememberMe)
|
||||||
]),
|
]),
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
|
@ -183,19 +184,21 @@ class _LoginPageState extends State<LoginPage> {
|
||||||
var d = await showDialog<bool>(
|
var d = await showDialog<bool>(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (c) => AlertDialog(
|
builder: (c) => AlertDialog(
|
||||||
title: const Text("Varování!"),
|
title: Text(Languages.of(context)!.warning),
|
||||||
content: const SingleChildScrollView(
|
content: SingleChildScrollView(
|
||||||
child: Text(
|
child: Text(
|
||||||
"Snažíte se přihlásit přes nešifrované spojení HTTP, jste si jisti, že tak chcete učinit?")),
|
Languages.of(context)!.httpLogin)),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () =>
|
onPressed: () =>
|
||||||
Navigator.pop(c, true),
|
Navigator.pop(c, true),
|
||||||
child: const Text("Ano")),
|
child:
|
||||||
|
Text(Languages.of(context)!.yes)),
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () =>
|
onPressed: () =>
|
||||||
Navigator.pop(c, false),
|
Navigator.pop(c, false),
|
||||||
child: const Text("Ne, změnit"))
|
child: Text(
|
||||||
|
Languages.of(context)!.noChange))
|
||||||
],
|
],
|
||||||
));
|
));
|
||||||
if (!d!) return;
|
if (!d!) return;
|
||||||
|
@ -208,19 +211,21 @@ class _LoginPageState extends State<LoginPage> {
|
||||||
var d = await showDialog<bool>(
|
var d = await showDialog<bool>(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (c) => AlertDialog(
|
builder: (c) => AlertDialog(
|
||||||
title: const Text("Pozor"),
|
title: Text(Languages.of(context)!.warning),
|
||||||
content: const SingleChildScrollView(
|
content: SingleChildScrollView(
|
||||||
child: Text(
|
child: Text(Languages.of(context)!
|
||||||
"Toto není oficiální aplikace k ovládání iCanteen. Autor neručí za ztráty nebo nefunkčnost v souvislosti s používáním této aplikace. Tato zpráva se znovu neukáže.")),
|
.notOfficial)),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () =>
|
onPressed: () =>
|
||||||
Navigator.pop(c, true),
|
Navigator.pop(c, true),
|
||||||
child: const Text("Souhlasím")),
|
child: Text(
|
||||||
|
Languages.of(context)!.agree)),
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () =>
|
onPressed: () =>
|
||||||
Navigator.pop(c, false),
|
Navigator.pop(c, false),
|
||||||
child: const Text("Nesouhlasím"))
|
child: Text(
|
||||||
|
Languages.of(context)!.disagree))
|
||||||
],
|
],
|
||||||
));
|
));
|
||||||
if (!d!) return;
|
if (!d!) return;
|
||||||
|
@ -237,9 +242,8 @@ class _LoginPageState extends State<LoginPage> {
|
||||||
if (!l) {
|
if (!l) {
|
||||||
ScaffoldMessenger.of(context).hideCurrentSnackBar();
|
ScaffoldMessenger.of(context).hideCurrentSnackBar();
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
const SnackBar(
|
SnackBar(
|
||||||
content: Text(
|
content: Text(Languages.of(context)!.loginFailed),
|
||||||
"Přihlášení se nezdařilo, zkontrolujte údaje"),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
|
@ -257,7 +261,7 @@ class _LoginPageState extends State<LoginPage> {
|
||||||
)),
|
)),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
child: const Text("Přihlásit se")),
|
child: Text(Languages.of(context)!.logIn)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -276,6 +280,7 @@ class AppLocalizationsDelegate extends LocalizationsDelegate<Languages> {
|
||||||
Future<Languages> load(Locale locale) => _load(locale);
|
Future<Languages> load(Locale locale) => _load(locale);
|
||||||
|
|
||||||
static Future<Languages> _load(Locale locale) async {
|
static Future<Languages> _load(Locale locale) async {
|
||||||
|
debugPrint(locale.countryCode);
|
||||||
switch (locale.languageCode) {
|
switch (locale.languageCode) {
|
||||||
case 'cs':
|
case 'cs':
|
||||||
return LanguageCz();
|
return LanguageCz();
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:url_launcher/url_launcher.dart';
|
import 'package:url_launcher/url_launcher.dart';
|
||||||
|
|
||||||
|
import '../lang/lang.dart';
|
||||||
|
|
||||||
class AboutPage extends StatefulWidget {
|
class AboutPage extends StatefulWidget {
|
||||||
const AboutPage({Key? key}) : super(key: key);
|
const AboutPage({Key? key}) : super(key: key);
|
||||||
|
|
||||||
|
@ -13,7 +15,7 @@ class _AboutPageState extends State<AboutPage> {
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: const Text("O Aplikaci"),
|
title: Text(Languages.of(context)!.about),
|
||||||
),
|
),
|
||||||
body: SingleChildScrollView(
|
body: SingleChildScrollView(
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
|
@ -26,7 +28,8 @@ class _AboutPageState extends State<AboutPage> {
|
||||||
"https://github.com/hernikplays/opencanteen/blob/main/LICENSE"),
|
"https://github.com/hernikplays/opencanteen/blob/main/LICENSE"),
|
||||||
child: const Text("Vydáno pod licencí GNU GPLv3")),
|
child: const Text("Vydáno pod licencí GNU GPLv3")),
|
||||||
const SizedBox(height: 15),
|
const SizedBox(height: 15),
|
||||||
const Text("Použité knihovny:", style: TextStyle(fontSize: 19)),
|
Text(Languages.of(context)!.usedLibs,
|
||||||
|
style: const TextStyle(fontSize: 19)),
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
cudlik(
|
cudlik(
|
||||||
"Flutter",
|
"Flutter",
|
||||||
|
|
|
@ -2,6 +2,7 @@ import 'package:canteenlib/canteenlib.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:opencanteen/util.dart';
|
import 'package:opencanteen/util.dart';
|
||||||
|
|
||||||
|
import '../lang/lang.dart';
|
||||||
import '../main.dart';
|
import '../main.dart';
|
||||||
|
|
||||||
class BurzaPage extends StatefulWidget {
|
class BurzaPage extends StatefulWidget {
|
||||||
|
@ -16,7 +17,7 @@ class BurzaPage extends StatefulWidget {
|
||||||
class _BurzaPageState extends State<BurzaPage> {
|
class _BurzaPageState extends State<BurzaPage> {
|
||||||
List<Widget> obsah = [];
|
List<Widget> obsah = [];
|
||||||
double kredit = 0.0;
|
double kredit = 0.0;
|
||||||
Future<void> nactiBurzu() async {
|
Future<void> nactiBurzu(BuildContext context) async {
|
||||||
obsah = [const CircularProgressIndicator()];
|
obsah = [const CircularProgressIndicator()];
|
||||||
widget.canteen.ziskejUzivatele().then((kr) {
|
widget.canteen.ziskejUzivatele().then((kr) {
|
||||||
kredit = kr.kredit;
|
kredit = kr.kredit;
|
||||||
|
@ -25,11 +26,11 @@ class _BurzaPageState extends State<BurzaPage> {
|
||||||
obsah = [];
|
obsah = [];
|
||||||
if (burza.isEmpty) {
|
if (burza.isEmpty) {
|
||||||
obsah = [
|
obsah = [
|
||||||
const Text(
|
Text(
|
||||||
"Žádné jídlo v burze.",
|
Languages.of(context)!.noExchange,
|
||||||
style: TextStyle(fontSize: 20),
|
style: const TextStyle(fontSize: 20),
|
||||||
),
|
),
|
||||||
const Text("Potáhněte zvrchu pro načtení.")
|
Text(Languages.of(context)!.pullToReload)
|
||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
for (var b in burza) {
|
for (var b in burza) {
|
||||||
|
@ -54,12 +55,12 @@ class _BurzaPageState extends State<BurzaPage> {
|
||||||
showDialog(
|
showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) => AlertDialog(
|
builder: (context) => AlertDialog(
|
||||||
title: const Text("Objednáno"),
|
title: Text(Languages.of(context)!.ordered),
|
||||||
content: const Text(
|
content: Text(
|
||||||
"Jídlo bylo úspěšně objednáno."),
|
Languages.of(context)!.orderSuccess),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
child: const Text("OK"),
|
child: Text(Languages.of(context)!.ok),
|
||||||
onPressed: () =>
|
onPressed: () =>
|
||||||
Navigator.of(context).pop(),
|
Navigator.of(context).pop(),
|
||||||
)
|
)
|
||||||
|
@ -70,12 +71,13 @@ class _BurzaPageState extends State<BurzaPage> {
|
||||||
showDialog(
|
showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) => AlertDialog(
|
builder: (context) => AlertDialog(
|
||||||
title: const Text("Nelze objednat"),
|
title: Text(
|
||||||
content: const Text(
|
Languages.of(context)!.cannotOrder),
|
||||||
"Jídlo se nepodařilo objednat."),
|
content: Text(
|
||||||
|
Languages.of(context)!.errorOrdering),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
child: const Text("OK"),
|
child: Text(Languages.of(context)!.ok),
|
||||||
onPressed: () =>
|
onPressed: () =>
|
||||||
Navigator.of(context).pop(),
|
Navigator.of(context).pop(),
|
||||||
)
|
)
|
||||||
|
@ -83,10 +85,10 @@ class _BurzaPageState extends State<BurzaPage> {
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
nactiBurzu();
|
nactiBurzu(context);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
child: const Text("Objednat")),
|
child: Text(Languages.of(context)!.order)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -106,7 +108,7 @@ class _BurzaPageState extends State<BurzaPage> {
|
||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
super.initState();
|
super.initState();
|
||||||
nactiBurzu();
|
nactiBurzu(context);
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
@ -114,14 +116,14 @@ class _BurzaPageState extends State<BurzaPage> {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
drawer: drawerGenerator(context, widget.canteen, widget.user, 3),
|
drawer: drawerGenerator(context, widget.canteen, widget.user, 3),
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: const Text('Burza'),
|
title: Text(Languages.of(context)!.exchange),
|
||||||
),
|
),
|
||||||
body: RefreshIndicator(
|
body: RefreshIndicator(
|
||||||
child: Center(
|
child: Center(
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
Text("Kredit: $kredit Kč"),
|
Text("${Languages.of(context)!.balance}$kredit Kč"),
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
SingleChildScrollView(
|
SingleChildScrollView(
|
||||||
physics: const AlwaysScrollableScrollPhysics(),
|
physics: const AlwaysScrollableScrollPhysics(),
|
||||||
|
@ -133,7 +135,7 @@ class _BurzaPageState extends State<BurzaPage> {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
onRefresh: () => nactiBurzu()),
|
onRefresh: () => nactiBurzu(context)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ import 'package:path_provider/path_provider.dart';
|
||||||
import 'package:shared_preferences/shared_preferences.dart';
|
import 'package:shared_preferences/shared_preferences.dart';
|
||||||
import 'package:url_launcher/url_launcher.dart';
|
import 'package:url_launcher/url_launcher.dart';
|
||||||
|
|
||||||
|
import '../lang/lang.dart';
|
||||||
import '../main.dart';
|
import '../main.dart';
|
||||||
import 'about.dart';
|
import 'about.dart';
|
||||||
|
|
||||||
|
@ -22,7 +23,7 @@ class JidelnicekPage extends StatefulWidget {
|
||||||
}
|
}
|
||||||
|
|
||||||
class _JidelnicekPageState extends State<JidelnicekPage> {
|
class _JidelnicekPageState extends State<JidelnicekPage> {
|
||||||
List<Widget> obsah = [const Text("Načítám...")];
|
List<Widget> obsah = [const CircularProgressIndicator()];
|
||||||
DateTime den = DateTime.now();
|
DateTime den = DateTime.now();
|
||||||
String denTydne = "";
|
String denTydne = "";
|
||||||
double kredit = 0.0;
|
double kredit = 0.0;
|
||||||
|
@ -30,25 +31,25 @@ class _JidelnicekPageState extends State<JidelnicekPage> {
|
||||||
obsah = [const CircularProgressIndicator()];
|
obsah = [const CircularProgressIndicator()];
|
||||||
switch (den.weekday) {
|
switch (den.weekday) {
|
||||||
case 2:
|
case 2:
|
||||||
denTydne = "Úterý";
|
denTydne = Languages.of(context)!.tuesday;
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
denTydne = "Středa";
|
denTydne = Languages.of(context)!.wednesday;
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
denTydne = "Čtvrtek";
|
denTydne = Languages.of(context)!.thursday;
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
denTydne = "Pátek";
|
denTydne = Languages.of(context)!.friday;
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
denTydne = "Sobota";
|
denTydne = Languages.of(context)!.saturday;
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
denTydne = "Neděle";
|
denTydne = Languages.of(context)!.sunday;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
denTydne = "Pondělí";
|
denTydne = Languages.of(context)!.monday;
|
||||||
}
|
}
|
||||||
widget.canteen.ziskejUzivatele().then((kr) {
|
widget.canteen.ziskejUzivatele().then((kr) {
|
||||||
kredit = kr.kredit;
|
kredit = kr.kredit;
|
||||||
|
@ -56,9 +57,9 @@ class _JidelnicekPageState extends State<JidelnicekPage> {
|
||||||
setState(() {
|
setState(() {
|
||||||
obsah = [];
|
obsah = [];
|
||||||
if (jd.jidla.isEmpty) {
|
if (jd.jidla.isEmpty) {
|
||||||
obsah.add(const Text(
|
obsah.add(Text(
|
||||||
"Žádné jídlo pro tento den",
|
Languages.of(context)!.noFood,
|
||||||
style: TextStyle(fontSize: 15),
|
style: const TextStyle(fontSize: 15),
|
||||||
));
|
));
|
||||||
} else {
|
} else {
|
||||||
for (var j in jd.jidla) {
|
for (var j in jd.jidla) {
|
||||||
|
@ -76,7 +77,9 @@ class _JidelnicekPageState extends State<JidelnicekPage> {
|
||||||
j.nazev,
|
j.nazev,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text((j.naBurze) ? "V BURZE" : "${j.cena} Kč"),
|
Text((j.naBurze)
|
||||||
|
? Languages.of(context)!.inExchange
|
||||||
|
: "${j.cena} Kč"),
|
||||||
Checkbox(
|
Checkbox(
|
||||||
value: j.objednano,
|
value: j.objednano,
|
||||||
fillColor: (j.lzeObjednat)
|
fillColor: (j.lzeObjednat)
|
||||||
|
@ -95,12 +98,12 @@ class _JidelnicekPageState extends State<JidelnicekPage> {
|
||||||
builder: (_) => Dialog(
|
builder: (_) => Dialog(
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
height: 100,
|
height: 100,
|
||||||
child: Row(children: const [
|
child: Row(children: [
|
||||||
Padding(
|
const Padding(
|
||||||
padding: EdgeInsets.all(10),
|
padding: EdgeInsets.all(10),
|
||||||
child: CircularProgressIndicator(),
|
child: CircularProgressIndicator(),
|
||||||
),
|
),
|
||||||
Text("Objednávám...")
|
Text(Languages.of(context)!.ordering)
|
||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
@ -112,12 +115,12 @@ class _JidelnicekPageState extends State<JidelnicekPage> {
|
||||||
showDialog(
|
showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (bc) => AlertDialog(
|
builder: (bc) => AlertDialog(
|
||||||
title: const Text(
|
title: Text(
|
||||||
"Jídlo se nepodařilo objednat."),
|
Languages.of(context)!.errorOrdering),
|
||||||
content: Text(o.toString()),
|
content: Text(o.toString()),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
child: const Text("Zavřít"),
|
child: Text(Languages.of(context)!.close),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.pop(bc);
|
Navigator.pop(bc);
|
||||||
},
|
},
|
||||||
|
@ -133,20 +136,20 @@ class _JidelnicekPageState extends State<JidelnicekPage> {
|
||||||
var d = await showDialog(
|
var d = await showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (bc) => SimpleDialog(
|
builder: (bc) => SimpleDialog(
|
||||||
title: const Text(
|
title: Text(
|
||||||
"Opravdu chcete vložit jídlo na burzu?"),
|
Languages.of(context)!.verifyExchange),
|
||||||
children: [
|
children: [
|
||||||
SimpleDialogOption(
|
SimpleDialogOption(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.pop(bc, true);
|
Navigator.pop(bc, true);
|
||||||
},
|
},
|
||||||
child: const Text("Ano"),
|
child: Text(Languages.of(context)!.yes),
|
||||||
),
|
),
|
||||||
SimpleDialogOption(
|
SimpleDialogOption(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.pop(bc, false);
|
Navigator.pop(bc, false);
|
||||||
},
|
},
|
||||||
child: const Text("Ne"),
|
child: Text(Languages.of(context)!.no),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
));
|
));
|
||||||
|
@ -158,12 +161,13 @@ class _JidelnicekPageState extends State<JidelnicekPage> {
|
||||||
showDialog(
|
showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (bc) => AlertDialog(
|
builder: (bc) => AlertDialog(
|
||||||
title: const Text(
|
title: Text(
|
||||||
"Nepodařilo se vložit jídlo na burzu"),
|
Languages.of(context)!.exchangeError),
|
||||||
content: Text(o.toString()),
|
content: Text(o.toString()),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
child: const Text("Zavřít"),
|
child: Text(
|
||||||
|
Languages.of(context)!.close),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.pop(bc);
|
Navigator.pop(bc);
|
||||||
},
|
},
|
||||||
|
@ -192,21 +196,17 @@ class _JidelnicekPageState extends State<JidelnicekPage> {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
void kliknuti(String value) {
|
void kliknuti(String value, BuildContext context) {
|
||||||
switch (value) {
|
if (value == Languages.of(context)!.signOut) {
|
||||||
case 'Odhlásit se':
|
const storage = FlutterSecureStorage();
|
||||||
const storage = FlutterSecureStorage();
|
storage.deleteAll();
|
||||||
storage.deleteAll();
|
Navigator.pushReplacement(
|
||||||
Navigator.pushReplacement(
|
context, MaterialPageRoute(builder: (c) => const LoginPage()));
|
||||||
context, MaterialPageRoute(builder: (c) => const LoginPage()));
|
} else if (value == Languages.of(context)!.reportBugs) {
|
||||||
break;
|
launch("https://github.com/hernikplays/opencanteen/issues/new/choose");
|
||||||
case 'Nahlásit chybu':
|
} else if (value == Languages.of(context)!.about) {
|
||||||
launch("https://github.com/hernikplays/opencanteen/issues/new/choose");
|
Navigator.push(
|
||||||
break;
|
context, MaterialPageRoute(builder: (c) => const AboutPage()));
|
||||||
case 'O Aplikaci':
|
|
||||||
Navigator.push(
|
|
||||||
context, MaterialPageRoute(builder: (c) => const AboutPage()));
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -241,8 +241,8 @@ class _JidelnicekPageState extends State<JidelnicekPage> {
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void initState() {
|
void didChangeDependencies() {
|
||||||
super.initState();
|
super.didChangeDependencies();
|
||||||
ulozitDnesekOffline();
|
ulozitDnesekOffline();
|
||||||
nactiJidlo();
|
nactiJidlo();
|
||||||
}
|
}
|
||||||
|
@ -252,13 +252,16 @@ class _JidelnicekPageState extends State<JidelnicekPage> {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
drawer: drawerGenerator(context, widget.canteen, widget.user, 1),
|
drawer: drawerGenerator(context, widget.canteen, widget.user, 1),
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: const Text('Jídelníček'),
|
title: Text(Languages.of(context)!.menu),
|
||||||
actions: [
|
actions: [
|
||||||
PopupMenuButton(
|
PopupMenuButton(
|
||||||
onSelected: kliknuti,
|
onSelected: ((String value) => kliknuti(value, context)),
|
||||||
itemBuilder: (BuildContext context) {
|
itemBuilder: (BuildContext context) {
|
||||||
return {'Nahlásit chybu', 'O Aplikaci', 'Odhlásit se'}
|
return {
|
||||||
.map((String choice) {
|
Languages.of(context)!.reportBugs,
|
||||||
|
Languages.of(context)!.about,
|
||||||
|
Languages.of(context)!.signOut
|
||||||
|
}.map((String choice) {
|
||||||
return PopupMenuItem<String>(
|
return PopupMenuItem<String>(
|
||||||
value: choice,
|
value: choice,
|
||||||
child: Text(choice),
|
child: Text(choice),
|
||||||
|
@ -274,7 +277,7 @@ class _JidelnicekPageState extends State<JidelnicekPage> {
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
Text("Kredit: $kredit Kč"),
|
Text("${Languages.of(context)!.balance}$kredit Kč"),
|
||||||
Row(mainAxisAlignment: MainAxisAlignment.center, children: [
|
Row(mainAxisAlignment: MainAxisAlignment.center, children: [
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
|
|
|
@ -2,6 +2,7 @@ import 'package:canteenlib/canteenlib.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:opencanteen/okna/burza.dart';
|
import 'package:opencanteen/okna/burza.dart';
|
||||||
|
|
||||||
|
import 'lang/lang.dart';
|
||||||
import 'okna/jidelnicek.dart';
|
import 'okna/jidelnicek.dart';
|
||||||
|
|
||||||
Drawer drawerGenerator(
|
Drawer drawerGenerator(
|
||||||
|
@ -13,18 +14,18 @@ Drawer drawerGenerator(
|
||||||
drawer = Drawer(
|
drawer = Drawer(
|
||||||
child: ListView(
|
child: ListView(
|
||||||
children: [
|
children: [
|
||||||
const DrawerHeader(
|
DrawerHeader(
|
||||||
child: Text("OpenCanteen"),
|
child: Text(Languages.of(context)!.appName),
|
||||||
),
|
),
|
||||||
ListTile(
|
ListTile(
|
||||||
selected: true,
|
selected: true,
|
||||||
title: const Text("Domů"),
|
title: Text(Languages.of(context)!.home),
|
||||||
leading: const Icon(Icons.home),
|
leading: const Icon(Icons.home),
|
||||||
onTap: () => Navigator.pop(context),
|
onTap: () => Navigator.pop(context),
|
||||||
),
|
),
|
||||||
ListTile(
|
ListTile(
|
||||||
leading: const Icon(Icons.store),
|
leading: const Icon(Icons.store),
|
||||||
title: const Text('Burza'),
|
title: Text(Languages.of(context)!.exchange),
|
||||||
onTap: () => Navigator.push(
|
onTap: () => Navigator.push(
|
||||||
context,
|
context,
|
||||||
MaterialPageRoute(
|
MaterialPageRoute(
|
||||||
|
@ -41,12 +42,12 @@ Drawer drawerGenerator(
|
||||||
drawer = Drawer(
|
drawer = Drawer(
|
||||||
child: ListView(
|
child: ListView(
|
||||||
children: [
|
children: [
|
||||||
const DrawerHeader(
|
DrawerHeader(
|
||||||
child: Text("OpenCanteen"),
|
child: Text(Languages.of(context)!.appName),
|
||||||
),
|
),
|
||||||
ListTile(
|
ListTile(
|
||||||
leading: const Icon(Icons.home),
|
leading: const Icon(Icons.home),
|
||||||
title: const Text("Domů"),
|
title: Text(Languages.of(context)!.home),
|
||||||
onTap: () => Navigator.push(
|
onTap: () => Navigator.push(
|
||||||
context,
|
context,
|
||||||
MaterialPageRoute(
|
MaterialPageRoute(
|
||||||
|
@ -56,7 +57,7 @@ Drawer drawerGenerator(
|
||||||
ListTile(
|
ListTile(
|
||||||
leading: const Icon(Icons.store),
|
leading: const Icon(Icons.store),
|
||||||
selected: true,
|
selected: true,
|
||||||
title: const Text('Burza'),
|
title: Text(Languages.of(context)!.exchange),
|
||||||
onTap: () => Navigator.pop(context),
|
onTap: () => Navigator.pop(context),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
12
pubspec.lock
12
pubspec.lock
|
@ -56,7 +56,7 @@ packages:
|
||||||
name: collection
|
name: collection
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.15.0"
|
version: "1.16.0"
|
||||||
connectivity_plus:
|
connectivity_plus:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -232,7 +232,7 @@ packages:
|
||||||
name: js
|
name: js
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.6.3"
|
version: "0.6.4"
|
||||||
lints:
|
lints:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -246,7 +246,7 @@ packages:
|
||||||
name: material_color_utilities
|
name: material_color_utilities
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.1.3"
|
version: "0.1.4"
|
||||||
meta:
|
meta:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -267,7 +267,7 @@ packages:
|
||||||
name: path
|
name: path
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.8.0"
|
version: "1.8.1"
|
||||||
path_provider:
|
path_provider:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -496,7 +496,7 @@ packages:
|
||||||
name: vector_math
|
name: vector_math
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.1.1"
|
version: "2.1.2"
|
||||||
win32:
|
win32:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -526,5 +526,5 @@ packages:
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.1.0"
|
version: "3.1.0"
|
||||||
sdks:
|
sdks:
|
||||||
dart: ">=2.16.1 <3.0.0"
|
dart: ">=2.17.0-0 <3.0.0"
|
||||||
flutter: ">=2.10.0"
|
flutter: ">=2.10.0"
|
||||||
|
|
Reference in a new issue