Skip to content

Commit feb63f1

Browse files
authored
[102] Complete (#3)
* [102] Buttons for AppBar. * [102] Copy correction. * [102] Almost complete layout. * [102] Starting data model. * [102] Formatting. * [102] Dummy data. * [102] Fake data. * [102] Formatting * [102] Card currency formatting. * [102] Starting to make the currency localized. * [102] Pubspec for intl. * [102] Data work. * [102] Home layout * [102] Formatting * [102] Data. * [102] Formatting. * [102] Sync. * [102] Formatting. * [102] PR feedback. * [102] Minor refactor for data. * [102] Formatting. * [102] PR Feedback (trailing commas) * [102] Improving formatting and simplifying data model. * [102] Comment. * [102] Sync. * [102] Import order correction. * [102] PR feedback. * [102] PR feedback. * [102] PR feedback around localization. * [102] PR feedback. * [102] PR feedback. * [102] PR feedback. * [102] Better support for smaller screens. * [102] Simplifying creation of cards.
1 parent fe1013b commit feb63f1

File tree

16 files changed

+289
-0
lines changed

16 files changed

+289
-0
lines changed

MDC-102/complete/.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.DS_Store
2+
.atom/
3+
.dart_tool/
4+
.idea
5+
.vscode/
6+
.packages
7+
.pub/
8+
build/
9+
ios/.generated/
10+
packages
11+
.flutter-plugins

MDC-102/complete/.metadata

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: 5a58b36e36b8d7aace89d3950e6deb307956a6a0
8+
channel: beta

MDC-102/complete/assets/0-1.jpg

42.8 KB
Loading

MDC-102/complete/assets/1-1.jpg

715 KB
Loading

MDC-102/complete/assets/2-1.jpg

28.5 KB
Loading
2.9 KB
Loading

MDC-102/complete/assets/3-1.jpg

4.48 MB
Loading
4.14 KB
Loading

MDC-102/complete/assets/diamond.png

1.45 KB
Loading

MDC-102/complete/lib/app.dart

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import 'package:flutter/material.dart';
2+
3+
import 'home.dart';
4+
import 'login.dart';
5+
6+
class ShrineApp extends StatelessWidget {
7+
@override
8+
Widget build(BuildContext context) {
9+
return MaterialApp(
10+
title: 'Shrine',
11+
home: HomePage(),
12+
initialRoute: '/login',
13+
onGenerateRoute: _getRoute,
14+
);
15+
}
16+
17+
Route<dynamic> _getRoute(RouteSettings settings) {
18+
if (settings.name != '/login') {
19+
return null;
20+
}
21+
22+
return MaterialPageRoute<void>(
23+
settings: settings,
24+
builder: (BuildContext context) => LoginPage(),
25+
fullscreenDialog: true,
26+
);
27+
}
28+
}

0 commit comments

Comments
 (0)