Skip to content

Commit dd8b6ae

Browse files
committed
remove no use stuff
1 parent 1d099bd commit dd8b6ae

File tree

101 files changed

+85
-2924
lines changed

Some content is hidden

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

101 files changed

+85
-2924
lines changed

analysis_options.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This file configures the analyzer, which statically analyzes Dart code to
2+
# check for errors, warnings, and lints.
3+
#
4+
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5+
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6+
# invoked from the command line by running `flutter analyze`.
7+
8+
# The following line activates a set of recommended lints for Flutter apps,
9+
# packages, and plugins designed to encourage good coding practices.
10+
include: package:flutter_lints/flutter.yaml
11+
12+
linter:
13+
# The lint rules applied to this project can be customized in the
14+
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
15+
# included above or to enable additional rules. A list of all available lints
16+
# and their documentation is published at
17+
# https://dart-lang.github.io/linter/lints/index.html.
18+
#
19+
# Instead of disabling a lint rule for the entire project in the
20+
# section below, it can also be suppressed for a single line of code
21+
# or a specific dart file by using the `// ignore: name_of_lint` and
22+
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
23+
# producing the lint.
24+
rules:
25+
# avoid_print: false # Uncomment to disable the `avoid_print` rule
26+
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27+
28+
# Additional information about this file can be found at
29+
# https://dart.dev/guides/language/analysis-options

lib/widgets/animCategoryContainer.dart

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class _AnimCategoryContainerState extends State<AnimCategoryContainer>
1515
late bool isExpanded;
1616
late AnimationController controller;
1717
late Animation<EdgeInsetsGeometry> marginAnim;
18-
late Animation<BorderRadius> radiusAnim;
18+
late Animation<BorderRadius?> radiusAnim;
1919

2020
@override
2121
void initState() {
@@ -44,7 +44,7 @@ class _AnimCategoryContainerState extends State<AnimCategoryContainer>
4444
List<Widget> listItems = widget.categoryBean.categoryItems
4545
.map(buildAnimCategoryItem)
4646
.toList()
47-
..add(SizedBox(height: 12));
47+
..add(SizedBox(height: 12));
4848

4949
return AnimatedBuilder(
5050
animation: controller,
@@ -53,7 +53,7 @@ class _AnimCategoryContainerState extends State<AnimCategoryContainer>
5353
margin: marginAnim.value,
5454
child: Material(
5555
shape: RoundedRectangleBorder(
56-
borderRadius: radiusAnim.value,
56+
borderRadius: radiusAnim.value ?? BorderRadius.zero,
5757
),
5858
color: Colors.cyan.shade700,
5959
clipBehavior: Clip.antiAlias,

macos/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
**/Pods/
44

55
# Xcode-related
6+
**/dgph
67
**/xcuserdata/

macos/.metadata

-10
This file was deleted.

macos/Flutter/Flutter-Debug.xcconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
1+
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
22
#include "ephemeral/Flutter-Generated.xcconfig"
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
1+
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
22
#include "ephemeral/Flutter-Generated.xcconfig"

macos/Podfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ SPEC CHECKSUMS:
3131

3232
PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c
3333

34-
COCOAPODS: 1.9.3
34+
COCOAPODS: 1.10.2

macos/README.md

-16
This file was deleted.

macos/Runner.xcodeproj/project.pbxproj

+42-53
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 52;
6+
objectVersion = 51;
77
objects = {
88

99
/* Begin PBXAggregateTarget section */
@@ -21,12 +21,12 @@
2121
/* End PBXAggregateTarget section */
2222

2323
/* Begin PBXBuildFile section */
24+
1500BE49442DB6B787ABDEAE /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9585F85CBDFB803AE833CDA9 /* Pods_Runner.framework */; };
2425
335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; };
2526
33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; };
2627
33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
2728
33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
2829
33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
29-
D363185404CDFF875EBFB489 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 755318CA635710545C692942 /* Pods_Runner.framework */; };
3030
/* End PBXBuildFile section */
3131

3232
/* Begin PBXContainerItemProxy section */
@@ -53,7 +53,6 @@
5353
/* End PBXCopyFilesBuildPhase section */
5454

5555
/* Begin PBXFileReference section */
56-
1A9B65C43AD6DF2DBA7C5AE0 /* 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>"; };
5756
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
5857
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
5958
33CC10ED2044A3C60003C045 /* daily_coding.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = daily_coding.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -68,35 +67,26 @@
6867
33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = "<group>"; };
6968
33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = "<group>"; };
7069
33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = "<group>"; };
71-
6464389C0B1C697E64D3C05C /* 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>"; };
72-
755318CA635710545C692942 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
7370
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
71+
9585F85CBDFB803AE833CDA9 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
7472
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
75-
C794A8C45FB28082803D7052 /* 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>"; };
73+
A0E7D3F9191220C878EBA6D0 /* 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>"; };
74+
A63868F4775D6EE555CA91E1 /* 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>"; };
75+
B94AF0535CB24595057BB879 /* 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>"; };
7676
/* End PBXFileReference section */
7777

7878
/* Begin PBXFrameworksBuildPhase section */
7979
33CC10EA2044A3C60003C045 /* Frameworks */ = {
8080
isa = PBXFrameworksBuildPhase;
8181
buildActionMask = 2147483647;
8282
files = (
83-
D363185404CDFF875EBFB489 /* Pods_Runner.framework in Frameworks */,
83+
1500BE49442DB6B787ABDEAE /* Pods_Runner.framework in Frameworks */,
8484
);
8585
runOnlyForDeploymentPostprocessing = 0;
8686
};
8787
/* End PBXFrameworksBuildPhase section */
8888

8989
/* Begin PBXGroup section */
90-
298051667DFC76EE7BB6E915 /* Pods */ = {
91-
isa = PBXGroup;
92-
children = (
93-
C794A8C45FB28082803D7052 /* Pods-Runner.debug.xcconfig */,
94-
6464389C0B1C697E64D3C05C /* Pods-Runner.release.xcconfig */,
95-
1A9B65C43AD6DF2DBA7C5AE0 /* Pods-Runner.profile.xcconfig */,
96-
);
97-
path = Pods;
98-
sourceTree = "<group>";
99-
};
10090
33BA886A226E78AF003329D5 /* Configs */ = {
10191
isa = PBXGroup;
10292
children = (
@@ -115,7 +105,7 @@
115105
33CEB47122A05771004F2AC0 /* Flutter */,
116106
33CC10EE2044A3C60003C045 /* Products */,
117107
D73912EC22F37F3D000D13A0 /* Frameworks */,
118-
298051667DFC76EE7BB6E915 /* Pods */,
108+
D4F5A41E54B33887FBDF1305 /* Pods */,
119109
);
120110
sourceTree = "<group>";
121111
};
@@ -162,10 +152,21 @@
162152
path = Runner;
163153
sourceTree = "<group>";
164154
};
155+
D4F5A41E54B33887FBDF1305 /* Pods */ = {
156+
isa = PBXGroup;
157+
children = (
158+
A63868F4775D6EE555CA91E1 /* Pods-Runner.debug.xcconfig */,
159+
B94AF0535CB24595057BB879 /* Pods-Runner.release.xcconfig */,
160+
A0E7D3F9191220C878EBA6D0 /* Pods-Runner.profile.xcconfig */,
161+
);
162+
name = Pods;
163+
path = Pods;
164+
sourceTree = "<group>";
165+
};
165166
D73912EC22F37F3D000D13A0 /* Frameworks */ = {
166167
isa = PBXGroup;
167168
children = (
168-
755318CA635710545C692942 /* Pods_Runner.framework */,
169+
9585F85CBDFB803AE833CDA9 /* Pods_Runner.framework */,
169170
);
170171
name = Frameworks;
171172
sourceTree = "<group>";
@@ -177,13 +178,13 @@
177178
isa = PBXNativeTarget;
178179
buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
179180
buildPhases = (
180-
B34053064BF841B02692818E /* [CP] Check Pods Manifest.lock */,
181+
70F3F18621C80D13ADE4CC7C /* [CP] Check Pods Manifest.lock */,
181182
33CC10E92044A3C60003C045 /* Sources */,
182183
33CC10EA2044A3C60003C045 /* Frameworks */,
183184
33CC10EB2044A3C60003C045 /* Resources */,
184185
33CC110E2044A8840003C045 /* Bundle Framework */,
185186
3399D490228B24CF009A79C7 /* ShellScript */,
186-
C768C3674720E5EFBF55F5DE /* [CP] Embed Pods Frameworks */,
187+
00B1B83DFEFA496CDF33709B /* [CP] Embed Pods Frameworks */,
187188
);
188189
buildRules = (
189190
);
@@ -203,7 +204,7 @@
203204
attributes = {
204205
LastSwiftUpdateCheck = 0920;
205206
LastUpgradeCheck = 0930;
206-
ORGANIZATIONNAME = "The Flutter Authors";
207+
ORGANIZATIONNAME = "";
207208
TargetAttributes = {
208209
33CC10EC2044A3C60003C045 = {
209210
CreatedOnToolsVersion = 9.2;
@@ -222,7 +223,7 @@
222223
};
223224
};
224225
buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */;
225-
compatibilityVersion = "Xcode 11.0";
226+
compatibilityVersion = "Xcode 9.3";
226227
developmentRegion = en;
227228
hasScannedForEncodings = 0;
228229
knownRegions = (
@@ -253,6 +254,23 @@
253254
/* End PBXResourcesBuildPhase section */
254255

255256
/* Begin PBXShellScriptBuildPhase section */
257+
00B1B83DFEFA496CDF33709B /* [CP] Embed Pods Frameworks */ = {
258+
isa = PBXShellScriptBuildPhase;
259+
buildActionMask = 2147483647;
260+
files = (
261+
);
262+
inputFileListPaths = (
263+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
264+
);
265+
name = "[CP] Embed Pods Frameworks";
266+
outputFileListPaths = (
267+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
268+
);
269+
runOnlyForDeploymentPostprocessing = 0;
270+
shellPath = /bin/sh;
271+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
272+
showEnvVarsInLog = 0;
273+
};
256274
3399D490228B24CF009A79C7 /* ShellScript */ = {
257275
isa = PBXShellScriptBuildPhase;
258276
buildActionMask = 2147483647;
@@ -290,7 +308,7 @@
290308
shellPath = /bin/sh;
291309
shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
292310
};
293-
B34053064BF841B02692818E /* [CP] Check Pods Manifest.lock */ = {
311+
70F3F18621C80D13ADE4CC7C /* [CP] Check Pods Manifest.lock */ = {
294312
isa = PBXShellScriptBuildPhase;
295313
buildActionMask = 2147483647;
296314
files = (
@@ -312,23 +330,6 @@
312330
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";
313331
showEnvVarsInLog = 0;
314332
};
315-
C768C3674720E5EFBF55F5DE /* [CP] Embed Pods Frameworks */ = {
316-
isa = PBXShellScriptBuildPhase;
317-
buildActionMask = 2147483647;
318-
files = (
319-
);
320-
inputFileListPaths = (
321-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
322-
);
323-
name = "[CP] Embed Pods Frameworks";
324-
outputFileListPaths = (
325-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
326-
);
327-
runOnlyForDeploymentPostprocessing = 0;
328-
shellPath = /bin/sh;
329-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
330-
showEnvVarsInLog = 0;
331-
};
332333
/* End PBXShellScriptBuildPhase section */
333334

334335
/* Begin PBXSourcesBuildPhase section */
@@ -420,10 +421,6 @@
420421
CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
421422
CODE_SIGN_STYLE = Automatic;
422423
COMBINE_HIDPI_IMAGES = YES;
423-
FRAMEWORK_SEARCH_PATHS = (
424-
"$(inherited)",
425-
"$(PROJECT_DIR)/Flutter/ephemeral",
426-
);
427424
INFOPLIST_FILE = Runner/Info.plist;
428425
LD_RUNPATH_SEARCH_PATHS = (
429426
"$(inherited)",
@@ -550,10 +547,6 @@
550547
CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
551548
CODE_SIGN_STYLE = Automatic;
552549
COMBINE_HIDPI_IMAGES = YES;
553-
FRAMEWORK_SEARCH_PATHS = (
554-
"$(inherited)",
555-
"$(PROJECT_DIR)/Flutter/ephemeral",
556-
);
557550
INFOPLIST_FILE = Runner/Info.plist;
558551
LD_RUNPATH_SEARCH_PATHS = (
559552
"$(inherited)",
@@ -574,10 +567,6 @@
574567
CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements;
575568
CODE_SIGN_STYLE = Automatic;
576569
COMBINE_HIDPI_IMAGES = YES;
577-
FRAMEWORK_SEARCH_PATHS = (
578-
"$(inherited)",
579-
"$(PROJECT_DIR)/Flutter/ephemeral",
580-
);
581570
INFOPLIST_FILE = Runner/Info.plist;
582571
LD_RUNPATH_SEARCH_PATHS = (
583572
"$(inherited)",

macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

+1-13
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,6 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30-
<Testables>
31-
<TestableReference
32-
skipped = "NO">
33-
<BuildableReference
34-
BuildableIdentifier = "primary"
35-
BlueprintIdentifier = "00380F9121DF178D00097171"
36-
BuildableName = "RunnerUITests.xctest"
37-
BlueprintName = "RunnerUITests"
38-
ReferencedContainer = "container:Runner.xcodeproj">
39-
</BuildableReference>
40-
</TestableReference>
41-
</Testables>
4230
<MacroExpansion>
4331
<BuildableReference
4432
BuildableIdentifier = "primary"
@@ -75,7 +63,7 @@
7563
</AdditionalOptions>
7664
</LaunchAction>
7765
<ProfileAction
78-
buildConfiguration = "Release"
66+
buildConfiguration = "Profile"
7967
shouldUseLaunchSchemeArgsEnv = "YES"
8068
savedToolIdentifier = ""
8169
useCustomWorkingDirectory = "NO"

macos/Runner/Configs/AppInfo.xcconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ PRODUCT_NAME = daily_coding
1111
PRODUCT_BUNDLE_IDENTIFIER = com.example.dailyCoding
1212

1313
// The copyright displayed in application information
14-
PRODUCT_COPYRIGHT = Copyright © 2020 com.example. All rights reserved.
14+
PRODUCT_COPYRIGHT = Copyright © 2021 com.example. All rights reserved.

macos/Runner/DebugProfile.entitlements

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
<true/>
77
<key>com.apple.security.cs.allow-jit</key>
88
<true/>
9-
<key>com.apple.security.network.client</key>
10-
<true/>
119
<key>com.apple.security.network.server</key>
1210
<true/>
1311
</dict>

macos/Runner/Release.entitlements

-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,5 @@
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
66
<true/>
7-
<key>com.apple.security.network.client</key>
8-
<true/>
9-
<key>com.apple.security.network.server</key>
10-
<true/>
117
</dict>
128
</plist>

macos/android/.gitignore

-11
This file was deleted.

0 commit comments

Comments
 (0)