forked from brianegan/flutter_architecture_samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
218 lines (186 loc) · 7.08 KB
/
index.html
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
119
120
121
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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Flutter Architecture Samples</title>
<link rel="shortcut icon" href="assets/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="assets/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="assets/favicon-16x16.png" sizes="16x16" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/milligram/1.3.0/milligram.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<style>
body {
color: rgb(17, 17, 17);
}
.site-title {
font-size: 4.2rem;
margin-bottom: 0.25rem;
}
.button-blue {
background-color: #3FBCCC;
border-color: #3FBCCC;
}
a {
color: #3FBCCC;
}
a:focus,
a:hover,
a:hover {
color: #028A9C
}
.button-blue:active,
.button-blue:focus,
.button-blue:hover {
background-color: #028A9C;
border-color: #028A9C;
}
.button-blue.button-outline:active,
.button-blue.button-outline:focus,
.button-blue.button-outline:hover {
border-color: #028A9C;
color: #028A9C;
}
.button-blue.button-clear,
.button-blue.button-outline {
background-color: transparent;
color: #3FBCCC;
}
.button-blue.button-clear {
border-color: transparent;
}
.site-subtitle {
color: rgb(120, 120, 120);
margin-bottom: 1.2rem;
}
.downloads {
margin-bottom: 2.4rem;
}
h2 {
color: rgb(70, 70, 70);
}
.site-header {
margin-top: 3.2rem;
margin-bottom: 1.2rem;
}
.container {
max-width: 80rem;
}
.logo {
max-width: 9rem;
margin-right: 2.4rem;
margin-bottom: 1.2rem;
padding-left: 1.0rem;
}
.card {
background-color: white;
border-radius: 0.25rem;
box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.25);
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
min-height: 180px;
padding: 2.4rem 2.4rem 1.2rem 2.4rem;
border: solid transparent;
border-bottom-color: transparent;
border-bottom-color: #3FBCCC;
margin-left: auto;
margin-right: auto;
margin-bottom: 4rem;
}
.site-title-container {
flex-basis: min-content;
}
.screenshot {
margin-bottom: 2.4rem;
}
.screenshot img {
-webkit-box-shadow: 0px 10px 20px 0px rgba(50, 50, 50, 0.4);
-moz-box-shadow: 0px 10px 20px 0px rgba(50, 50, 50, 0.4);
box-shadow: 0px 10px 20px 0px rgba(50, 50, 50, 0.4);
}
/* Larger than mobile screen */
@media (min-width: 40.0rem) {
.screenshot {
max-width: 16rem;
float: right;
margin-left: 2.4rem;
}
}
/* Larger than tablet screen */
@media (min-width: 80.0rem) {}
/* Larger than desktop screen */
@media (min-width: 120.0rem) {}
</style>
</head>
<body>
<div class="container">
<div class="row site-header">
<div class="logo">
<img src="assets/logo.png" alt="Flutter Architecture Samples Logo">
</div>
<div class="site-title-container">
<h1 class="site-title">Flutter Architecture Samples</h1>
<h5 class="site-subtitle">A gallery of app architectures</h5>
</div>
</div>
<aside class="screenshot">
<picture>
<img src="assets/screenshot.png" alt="Screenshot of the app">
</picture>
</aside>
<div class="content">
<div class="description">
<p>
Flutter provides a lot of flexibility in deciding how to organize and architect your apps. While this freedom is very valuable,
it can also lead to apps with large classes, inconsistent naming schemes, as well as mismatching or missing
architectures. These types of issues can make testing, maintaining and extending your apps difficult.</p>
<p>The Flutter Architecture Samples project demonstrates strategies to help solve or avoid these common problems.
This project implements the same "Todos" app using different architectural concepts and tools.</p>
</div>
<div class="downloads">
<a href="https://github.com/brianegan/flutter_architecture_samples/archive/master.zip" class="button button-blue">Download</a>
<a href="https://github.com/brianegan/flutter_architecture_samples" class="button button-blue button-outline">Github</a>
</div>
<div class="card">
<h3>Samples</h3>
<ul>
<li>
<a href="https://github.com/brianegan/flutter_architecture_samples/blob/master/example/vanilla">Lifting State Up (Vanilla)</a>
</li>
<li>
<a href="https://github.com/brianegan/flutter_architecture_samples/tree/master/example/inherited_widget">InheritedWidget</a>
</li>
<li>
<a href="https://github.com/brianegan/flutter_architecture_samples/blob/master/example/redux">Redux</a>
</li>
<li>
<a href="https://github.com/brianegan/flutter_architecture_samples/blob/master/example/built_redux">built_redux</a>
</li>
<li>
<a href="https://github.com/brianegan/flutter_architecture_samples/tree/master/example/scoped_model">scoped_model</a>
</li>
</ul>
</div>
<div class="card">
<h3>Supporting code</h3>
<ul>
<li>
<a href="https://github.com/brianegan/flutter_architecture_samples/blob/master/example/integration_tests">Integration Tests</a>
</li>
<li>
<a href="https://github.com/brianegan/flutter_architecture_samples/blob/master/example/todos_repository">Todos Repository</a>
</li>
</ul>
</div>
<div class="copyright">
<p> © 2017
<a href="https://github.com/brianegan">Brian Egan</a> and contributors.
</p>
</div>
</div>
</div>
</body>
</html>