Skip to content

Commit 7a4dd68

Browse files
committed
feat: add desc
1 parent e1cca83 commit 7a4dd68

File tree

9 files changed

+76
-3
lines changed

9 files changed

+76
-3
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
# flutter-app-bootstrap
22

33
---
4+
5+
## Screenshot
6+
7+
<img src="./screenshot/flutter_01.png" width="25%"/><img src="./screenshot/flutter_02.png" width="25%"/><img src="./screenshot/flutter_03.png" width="25%"/><img src="./screenshot/flutter_04.png" width="25%"/>

ios/Runner.xcodeproj/project.pbxproj

+66-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
1313
3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
1414
3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
15+
3BEFD63AD901C35F38610CCA /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AE43DE62550FDBB2234ACE65 /* libPods-Runner.a */; };
1516
9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
1617
9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1718
9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };
@@ -55,6 +56,7 @@
5556
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
5657
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
5758
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
59+
AE43DE62550FDBB2234ACE65 /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; };
5860
/* End PBXFileReference section */
5961

6062
/* Begin PBXFrameworksBuildPhase section */
@@ -64,12 +66,28 @@
6466
files = (
6567
9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
6668
3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
69+
3BEFD63AD901C35F38610CCA /* libPods-Runner.a in Frameworks */,
6770
);
6871
runOnlyForDeploymentPostprocessing = 0;
6972
};
7073
/* End PBXFrameworksBuildPhase section */
7174

7275
/* Begin PBXGroup section */
76+
2CBAC9D7B99EE604AA85B992 /* Pods */ = {
77+
isa = PBXGroup;
78+
children = (
79+
);
80+
name = Pods;
81+
sourceTree = "<group>";
82+
};
83+
7A505596141997A52B835C41 /* Frameworks */ = {
84+
isa = PBXGroup;
85+
children = (
86+
AE43DE62550FDBB2234ACE65 /* libPods-Runner.a */,
87+
);
88+
name = Frameworks;
89+
sourceTree = "<group>";
90+
};
7391
9740EEB11CF90186004384FC /* Flutter */ = {
7492
isa = PBXGroup;
7593
children = (
@@ -90,7 +108,8 @@
90108
9740EEB11CF90186004384FC /* Flutter */,
91109
97C146F01CF9000F007C117D /* Runner */,
92110
97C146EF1CF9000F007C117D /* Products */,
93-
CF3B75C9A7D2FA2A4C99F110 /* Frameworks */,
111+
2CBAC9D7B99EE604AA85B992 /* Pods */,
112+
7A505596141997A52B835C41 /* Frameworks */,
94113
);
95114
sourceTree = "<group>";
96115
};
@@ -133,12 +152,14 @@
133152
isa = PBXNativeTarget;
134153
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
135154
buildPhases = (
155+
B2604DE5BF8C33F8D2ED99DE /* [CP] Check Pods Manifest.lock */,
136156
9740EEB61CF901F6004384FC /* Run Script */,
137157
97C146EA1CF9000F007C117D /* Sources */,
138158
97C146EB1CF9000F007C117D /* Frameworks */,
139159
97C146EC1CF9000F007C117D /* Resources */,
140160
9705A1C41CF9048500538489 /* Embed Frameworks */,
141161
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
162+
10433EC847558DA837CA5C54 /* [CP] Embed Pods Frameworks */,
142163
);
143164
buildRules = (
144165
);
@@ -198,6 +219,28 @@
198219
/* End PBXResourcesBuildPhase section */
199220

200221
/* Begin PBXShellScriptBuildPhase section */
222+
10433EC847558DA837CA5C54 /* [CP] Embed Pods Frameworks */ = {
223+
isa = PBXShellScriptBuildPhase;
224+
buildActionMask = 2147483647;
225+
files = (
226+
);
227+
inputFileListPaths = (
228+
);
229+
inputPaths = (
230+
"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
231+
"${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework",
232+
);
233+
name = "[CP] Embed Pods Frameworks";
234+
outputFileListPaths = (
235+
);
236+
outputPaths = (
237+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework",
238+
);
239+
runOnlyForDeploymentPostprocessing = 0;
240+
shellPath = /bin/sh;
241+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
242+
showEnvVarsInLog = 0;
243+
};
201244
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
202245
isa = PBXShellScriptBuildPhase;
203246
buildActionMask = 2147483647;
@@ -226,6 +269,28 @@
226269
shellPath = /bin/sh;
227270
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
228271
};
272+
B2604DE5BF8C33F8D2ED99DE /* [CP] Check Pods Manifest.lock */ = {
273+
isa = PBXShellScriptBuildPhase;
274+
buildActionMask = 2147483647;
275+
files = (
276+
);
277+
inputFileListPaths = (
278+
);
279+
inputPaths = (
280+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
281+
"${PODS_ROOT}/Manifest.lock",
282+
);
283+
name = "[CP] Check Pods Manifest.lock";
284+
outputFileListPaths = (
285+
);
286+
outputPaths = (
287+
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
288+
);
289+
runOnlyForDeploymentPostprocessing = 0;
290+
shellPath = /bin/sh;
291+
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";
292+
showEnvVarsInLog = 0;
293+
};
229294
/* End PBXShellScriptBuildPhase section */
230295

231296
/* Begin PBXSourcesBuildPhase section */

ios/Runner.xcworkspace/contents.xcworkspacedata

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/component/list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class ListComponent extends StatelessWidget {
1010
@override
1111
Widget build(BuildContext context) {
1212
String os = Platform.operatingSystem;
13-
String osString = '${os[0].toUpperCase()}${os.substring(1)}';
13+
String osString = Platform.isIOS ? '${os[0]}${os.substring(1).toUpperCase()}' : '${os[0].toUpperCase()}${os.substring(1)}';
1414
return new Container(
1515
padding: const EdgeInsets.all(20.0),
1616
child: Column(

lib/page/login.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class LoginPageState extends State<LoginPage> {
2020
@override
2121
Widget build(BuildContext context) {
2222
String os = Platform.operatingSystem;
23-
String osString = '${os[0].toUpperCase()}${os.substring(1)}';
23+
String osString = Platform.isIOS ? '${os[0]}${os.substring(1).toUpperCase()}' : '${os[0].toUpperCase()}${os.substring(1)}';
2424
return Scaffold(
2525
body: new Container(
2626
padding: const EdgeInsets.all(20.0),
@@ -38,6 +38,7 @@ class LoginPageState extends State<LoginPage> {
3838
textAlign: TextAlign.center,
3939
style: new TextStyle(
4040
fontSize: 25.0,
41+
fontWeight: FontWeight.bold
4142
),
4243
),
4344
),

screenshot/flutter_01.png

60 KB
Loading

screenshot/flutter_02.png

59 KB
Loading

screenshot/flutter_03.png

53 KB
Loading

screenshot/flutter_04.png

53.2 KB
Loading

0 commit comments

Comments
 (0)