├── .DS_Store
├── .gitignore
├── .idea
├── Flutter-udacity-clone.iml
├── libraries
│ ├── Dart_Packages.xml
│ └── Dart_SDK.xml
├── misc.xml
├── modules.xml
├── vcs.xml
└── workspace.xml
├── README.md
├── analysis_options.yaml
├── android
└── app
│ └── src
│ └── main
│ └── java
│ └── io
│ └── flutter
│ └── plugins
│ └── GeneratedPluginRegistrant.java
├── ios
└── Runner
│ ├── GeneratedPluginRegistrant.h
│ └── GeneratedPluginRegistrant.m
├── lib
├── .DS_Store
├── category.dart
├── main.dart
└── profile.dart
├── pubspec.yaml
└── web
├── .DS_Store
├── assets
├── .DS_Store
├── FontManifest.json
├── background_ready.png
├── company
│ ├── .DS_Store
│ ├── at.png
│ ├── aws.png
│ ├── google.png
│ ├── ibm.png
│ ├── invidia.png
│ └── lyf.png
├── fonts
│ ├── .DS_Store
│ ├── OpenSans-Light.ttf
│ ├── OpenSans-Regular.ttf
│ └── PatrickHand-Regular.ttf
├── hero.jpg
├── icon
│ ├── .DS_Store
│ ├── ai_icon.png
│ ├── auto_sys_icon.png
│ ├── data_sci_icon.png
│ ├── dev_icon.png
│ └── nav-logo.png
└── img
│ ├── 1.jpg
│ ├── 2.jpg
│ ├── 3.jpg
│ ├── 4.jpg
│ ├── 5.jpg
│ ├── 6.jpg
│ ├── 7.jpg
│ ├── b1.jpg
│ ├── b2.jpg
│ ├── b3.jpg
│ ├── info-icon.png
│ ├── ledge.jpg
│ ├── login-back.jpg
│ ├── origami.png
│ ├── photographer.jpg
│ └── rocket.png
├── index.html
└── main.dart
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hellochirag/Flutter-udacity-clone/72c007b72bf2d537056f6eb90f9dbb0c3829a691/.DS_Store
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Files and directories created by pub
2 | .dart_tool/
3 | .packages
4 | # Remove the following pattern if you wish to check in your lock file
5 | pubspec.lock
6 |
7 | # Conventional directory for build outputs
8 | build/
9 |
10 | # Directory created by dartdoc
11 | doc/api/
12 |
--------------------------------------------------------------------------------
/.idea/Flutter-udacity-clone.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/.idea/libraries/Dart_Packages.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
468 |
469 |
470 |
471 |
472 |
473 |
474 |
475 |
476 |
477 |
478 |
479 |
480 |
481 |
482 |
483 |
484 |
485 |
486 |
487 |
488 |
489 |
490 |
491 |
492 |
493 |
494 |
495 |
496 |
497 |
498 |
499 |
500 |
501 |
502 |
503 |
504 |
505 |
506 |
507 |
508 |
509 |
510 |
511 |
512 |
513 |
514 |
515 |
516 |
517 |
518 |
519 |
520 |
521 |
522 |
523 |
524 |
525 |
526 |
527 |
528 |
529 |
530 |
531 |
532 |
533 |
534 |
535 |
536 |
537 |
538 |
539 |
--------------------------------------------------------------------------------
/.idea/libraries/Dart_SDK.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/workspace.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 | 1562257423458
119 |
120 |
121 | 1562257423458
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Udacity Flutter Web Clone App
2 |
3 | This is a clone of the famous application Udacity, and its done with the flutter frame work, this particular repo, contains the code for the student side
4 |
5 | ### Show some :heart: and star the repo to support the project
6 |
7 | This repository containing links of all the example apps demonstrating features/functionality/integrations in [Flutter](https://flutter.io/) application development.
8 |
9 | ## YouTube Channel
10 |
11 | [FlutterHackSerices](https://www.youtube.com/channel/UCFZa4oPejfav-slLhApw_ag)
12 |
13 | ## Facebook Group
14 |
15 | [Let's Flutter With Dart](https://www.facebook.com/groups/425920117856409/)
16 |
17 | ### Some Screenshots
18 |
19 | [](https://youtu.be/0daAArW1TJQ)
20 |
21 | [](https://youtu.be/0daAArW1TJQ)
22 |
23 |
24 |
25 |
26 |
27 | ## Building samples code
28 |
29 | Make sure you have configured the `webdev` tool.
30 |
31 | - [With the Flutter SDK installed](https://github.com/flutter/flutter_web#install-the-flutter_web-build-tools).
32 | - [With the Dart SDK installed](https://dart.dev/tools/webdev#using-webdev-and-build_runner-commands).
33 |
34 | Go into one of the sample directories, get packages, and run.
35 |
36 | ```console
37 | $ cd gallery
38 | $ flutter pub get # or `pub get` with the Dart SDK
39 | $ webdev serve
40 | ```
41 |
42 | You should see a message printing the URL to access: `http://localhost:8080`
43 |
44 |
--------------------------------------------------------------------------------
/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # Defines a default set of lint rules enforced for
2 | # projects at Google. For details and rationale,
3 | # see https://github.com/dart-lang/pedantic#enabled-lints.
4 | include: package:pedantic/analysis_options.yaml
5 |
6 | # For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
7 | # Uncomment to specify additional rules.
8 | # linter:
9 | # rules:
10 | # - camel_case_types
11 |
12 | analyzer:
13 | exclude: [build/**]
14 |
--------------------------------------------------------------------------------
/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:
--------------------------------------------------------------------------------
1 | package io.flutter.plugins;
2 |
3 | import io.flutter.plugin.common.PluginRegistry;
4 |
5 | /**
6 | * Generated file. Do not edit.
7 | */
8 | public final class GeneratedPluginRegistrant {
9 | public static void registerWith(PluginRegistry registry) {
10 | if (alreadyRegisteredWith(registry)) {
11 | return;
12 | }
13 | }
14 |
15 | private static boolean alreadyRegisteredWith(PluginRegistry registry) {
16 | final String key = GeneratedPluginRegistrant.class.getCanonicalName();
17 | if (registry.hasPlugin(key)) {
18 | return true;
19 | }
20 | registry.registrarFor(key);
21 | return false;
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/GeneratedPluginRegistrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | #ifndef GeneratedPluginRegistrant_h
6 | #define GeneratedPluginRegistrant_h
7 |
8 | #import
9 |
10 | @interface GeneratedPluginRegistrant : NSObject
11 | + (void)registerWithRegistry:(NSObject*)registry;
12 | @end
13 |
14 | #endif /* GeneratedPluginRegistrant_h */
15 |
--------------------------------------------------------------------------------
/ios/Runner/GeneratedPluginRegistrant.m:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | #import "GeneratedPluginRegistrant.h"
6 |
7 | @implementation GeneratedPluginRegistrant
8 |
9 | + (void)registerWithRegistry:(NSObject*)registry {
10 | }
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/lib/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hellochirag/Flutter-udacity-clone/72c007b72bf2d537056f6eb90f9dbb0c3829a691/lib/.DS_Store
--------------------------------------------------------------------------------
/lib/category.dart:
--------------------------------------------------------------------------------
1 | class Category{
2 | final int id;
3 | final String name;
4 | final dynamic icon;
5 | Category(this.id, this.name, {this.icon});
6 |
7 | }
8 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter_web/material.dart';
2 |
3 | //import 'package:UITemplate/profile.dart';
4 |
5 | void main() => runApp(MyApp());
6 |
7 | class MyApp extends StatelessWidget {
8 | // This widget is the root of your application.
9 | @override
10 | Widget build(BuildContext context) {
11 | return MaterialApp(
12 | title: 'UDACITY',
13 | theme: ThemeData(
14 | brightness: Brightness.light,
15 | primaryColor: Colors.white,
16 | fontFamily: 'Montserrat',
17 | ),
18 | home: MyHomePage(title: 'UDACITY'),
19 | );
20 | }
21 | }
22 |
23 | Card getStructuredGridCell(name, image,post) {
24 | return Card(
25 | elevation: 1.5,
26 | child: Stack(
27 | children: [
28 | Container(
29 | height: 140,
30 | width: double.infinity,
31 | child: Image.network(image,
32 | fit: BoxFit.fill,),
33 | ),
34 |
35 | Positioned(
36 | top: 80,
37 | left: 10,
38 | child: Column(
39 | children: [
40 | MaterialButton(
41 | child: Container(
42 | height: 30,
43 | width: 60,
44 | padding: const EdgeInsets.fromLTRB(2, 0, 2, 0),
45 | decoration: BoxDecoration(
46 | color: Colors.pinkAccent,
47 | border: Border.all(
48 | color: Colors.pinkAccent, width: 2.0),
49 | borderRadius: BorderRadius.circular(5.0),
50 | ),
51 | child: Center(
52 | child: Text(
53 | 'NEW',
54 | style: TextStyle(
55 | fontSize: 10,
56 | fontFamily: 'Open Sans-Light',
57 | color: Colors.white),
58 | ),
59 | ),
60 | ),
61 | onPressed: () {},
62 | )
63 | ],
64 | ),
65 | ),
66 | Positioned(
67 | top: 20,
68 | left: 20,
69 | child: Column(
70 | crossAxisAlignment: CrossAxisAlignment.start,
71 | children: [
72 | Text(
73 | 'SCHOOL OF',
74 | style: TextStyle(
75 | fontSize: 10,
76 | fontFamily: 'Open Sans-Light',
77 | color: Colors.white),
78 | ),
79 | SizedBox(height: 10),
80 | Text(
81 | name,
82 | style: TextStyle(
83 | fontSize: 14,
84 | fontFamily: 'Open Sans-Light',
85 | fontWeight: FontWeight.bold,
86 | color: Colors.white),
87 | )
88 | ],
89 | ),
90 | ),
91 | Positioned(
92 | top: 180,
93 | left: 20,
94 | child: Column(
95 | crossAxisAlignment: CrossAxisAlignment.start,
96 | children: [
97 | Text(
98 | post,
99 | style: TextStyle(
100 | fontSize: 18,
101 | fontFamily: 'Open Sans-Light',
102 | fontWeight: FontWeight.bold,
103 | color: Colors.black),
104 | )
105 | ],
106 | ),
107 | )
108 | ],
109 | ));
110 | }
111 |
112 |
113 | class MyHomePage extends StatelessWidget {
114 | MyHomePage({Key key, this.title}) : super(key: key);
115 |
116 | final String title;
117 | void _nextPage(int delta) {}
118 | final List