Skip to content

Commit 53fee10

Browse files
tianlunleewilllarche
authored andcommitted
[103] Add TODOs for 103 starter (#56)
1 parent c7c1324 commit 53fee10

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

mdc_100_series/lib/app.dart

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class ShrineApp extends StatelessWidget {
2525
home: HomePage(),
2626
initialRoute: '/login',
2727
onGenerateRoute: _getRoute,
28+
// TODO: Add a theme (103)
2829
);
2930
}
3031

@@ -40,3 +41,6 @@ class ShrineApp extends StatelessWidget {
4041
);
4142
}
4243
}
44+
45+
// TODO: Build a Shrine Theme (103)
46+
// TODO: Build a Shrine Text Theme (103)

mdc_100_series/lib/home.dart

+4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ class HomePage extends StatelessWidget {
3333

3434
return products.map((product) {
3535
return Card(
36+
// TODO: Adjust card heights (103)
3637
child: Column(
38+
// TODO: Center items on the card (103)
3739
crossAxisAlignment: CrossAxisAlignment.start,
3840
children: <Widget>[
3941
AspectRatio(
@@ -48,7 +50,9 @@ class HomePage extends StatelessWidget {
4850
child: Padding(
4951
padding: EdgeInsets.fromLTRB(16.0, 12.0, 16.0, 8.0),
5052
child: Column(
53+
// TODO: Align labels to the bottom and center (103)
5154
crossAxisAlignment: CrossAxisAlignment.start,
55+
// TODO: Change innermost Column
5256
children: <Widget>[
5357
// TODO(larche): Make headline6 when available
5458
Text(

mdc_100_series/lib/login.dart

+8
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ class _LoginPageState extends State<LoginPage> {
3939
],
4040
),
4141
SizedBox(height: 120.0),
42+
// TODO: Wrap Username with PrimaryColorOverride (103)
43+
// TODO: Remove filled: true values (103)
4244
TextField(
4345
controller: _usernameController,
4446
decoration: InputDecoration(
@@ -47,6 +49,7 @@ class _LoginPageState extends State<LoginPage> {
4749
),
4850
),
4951
SizedBox(height: 12.0),
52+
// TODO: Wrap Password with PrimaryColorOverride (103)
5053
TextField(
5154
controller: _passwordController,
5255
decoration: InputDecoration(
@@ -57,13 +60,16 @@ class _LoginPageState extends State<LoginPage> {
5760
),
5861
ButtonBar(
5962
children: <Widget>[
63+
// TODO: Add a beveled rectangular border to CANCEL (103)
6064
FlatButton(
6165
child: Text('CANCEL'),
6266
onPressed: () {
6367
_usernameController.clear();
6468
_passwordController.clear();
6569
},
6670
),
71+
// TODO: Add an elevation to NEXT (103)
72+
// TODO: Add a beveled rectangular border to NEXT (103)
6773
RaisedButton(
6874
child: Text('NEXT'),
6975
onPressed: () {
@@ -78,3 +84,5 @@ class _LoginPageState extends State<LoginPage> {
7884
);
7985
}
8086
}
87+
88+
// TODO: Add PrimaryColorOverride (103)

0 commit comments

Comments
 (0)