Skip to content
This repository was archived by the owner on Jul 12, 2024. It is now read-only.

Commit 46978c4

Browse files
authored
Merge pull request #30 from langx/fix-font
Fix font
2 parents f213f31 + e95b932 commit 46978c4

14 files changed

+206
-236
lines changed

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,7 @@ app.*.map.json
4343
/android/app/release
4444

4545
# Environment
46-
.env
46+
.env
47+
48+
# Vscode
49+
.vscode/

lib/components/bottom_navigation_bar.dart

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class AppBottomNavigationBar extends StatelessWidget {
2828
),
2929
],
3030
currentIndex: currentIndex,
31-
selectedItemColor: Colors.amber[800],
3231
onTap: onTap,
3332
);
3433
}

lib/components/profile/about_me_card.dart

-2
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,9 @@ class ProfileAboutMeCard extends StatelessWidget {
4747
height: cardHeight,
4848
width: MediaQuery.of(context).size.width,
4949
child: Card(
50-
elevation: 5.0,
5150
shape: RoundedRectangleBorder(
5251
borderRadius: BorderRadius.circular(16.0),
5352
),
54-
color: Colors.white,
5553
child: Padding(
5654
padding: const EdgeInsets.all(16.0),
5755
child: Column(

lib/components/profile/badges_card.dart

-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@ class BadgesCard extends StatelessWidget {
1414
height: 260,
1515
width: MediaQuery.of(context).size.width,
1616
child: Card(
17-
elevation: 5.0,
1817
shape: RoundedRectangleBorder(
1918
borderRadius: BorderRadius.circular(16.0),
2019
),
21-
color: Colors.white,
2220
child: Padding(
2321
padding: const EdgeInsets.all(16.0),
2422
child: Column(

lib/components/profile/day_streaks_card.dart

-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ class ProfileDayStreaksCard extends StatelessWidget {
1616
height: 250,
1717
width: MediaQuery.of(context).size.width,
1818
child: Card(
19-
elevation: 5.0,
2019
shape: RoundedRectangleBorder(
2120
borderRadius: BorderRadius.circular(16.0),
2221
),
23-
color: Colors.white,
2422
child: Padding(
2523
padding: const EdgeInsets.all(16.0),
2624
child: Column(

lib/components/profile/mother_tongues_card.dart

-3
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ class MotherTonguesCard extends StatelessWidget {
1717
height: 165,
1818
width: MediaQuery.of(context).size.width,
1919
child: Card(
20-
elevation: 5.0,
2120
shape: RoundedRectangleBorder(
2221
borderRadius: BorderRadius.circular(16.0),
2322
),
24-
color: Colors.white,
2523
child: Padding(
2624
padding: const EdgeInsets.all(16.0),
2725
child: Column(
@@ -66,7 +64,6 @@ class MotherTonguesCard extends StatelessWidget {
6664
languages[index],
6765
style: const TextStyle(
6866
fontSize: 18,
69-
color: Colors.black,
7067
),
7168
),
7269
const Spacer(),

lib/components/profile/others_card.dart

-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ class OthersCard extends StatelessWidget {
1515
height: 230,
1616
width: MediaQuery.of(context).size.width,
1717
child: Card(
18-
elevation: 5.0,
1918
shape: RoundedRectangleBorder(
2019
borderRadius: BorderRadius.circular(16.0),
2120
),
22-
color: Colors.white,
2321
child: Padding(
2422
padding: const EdgeInsets.all(16.0),
2523
child: Column(

lib/components/profile/study_languages_card.dart

-3
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ class StudyLanguagesCard extends StatelessWidget {
1717
height: 165,
1818
width: MediaQuery.of(context).size.width,
1919
child: Card(
20-
elevation: 5.0,
2120
shape: RoundedRectangleBorder(
2221
borderRadius: BorderRadius.circular(16.0),
2322
),
24-
color: Colors.white,
2523
child: Padding(
2624
padding: const EdgeInsets.all(16.0),
2725
child: Column(
@@ -66,7 +64,6 @@ class StudyLanguagesCard extends StatelessWidget {
6664
languages[index],
6765
style: const TextStyle(
6866
fontSize: 18,
69-
color: Colors.black,
7067
),
7168
),
7269
const Spacer(),

lib/components/profile/token_card.dart

-7
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ class ProfileTokenCard extends StatelessWidget {
1717
height: 320,
1818
width: MediaQuery.of(context).size.width,
1919
child: Card(
20-
elevation: 5.0,
2120
shape: RoundedRectangleBorder(
2221
borderRadius: BorderRadius.circular(16.0),
2322
),
24-
color: Colors.white,
2523
child: Padding(
2624
padding: const EdgeInsets.all(16.0),
2725
child: Column(
@@ -109,7 +107,6 @@ class ProfileTokenCard extends StatelessWidget {
109107
'Leaderboard',
110108
style: TextStyle(
111109
fontSize: 18,
112-
color: Colors.black,
113110
),
114111
),
115112
const Spacer(),
@@ -122,10 +119,6 @@ class ProfileTokenCard extends StatelessWidget {
122119
],
123120
),
124121
),
125-
Container(
126-
height: 1,
127-
color: Colors.grey[300],
128-
),
129122
],
130123
),
131124
),

lib/components/profile/user_card.dart

-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ class ProfileUserCard extends StatelessWidget {
2424
height: 330,
2525
width: MediaQuery.of(context).size.width,
2626
child: Card(
27-
elevation: 5.0,
2827
shape: RoundedRectangleBorder(
2928
borderRadius: BorderRadius.circular(16.0),
3029
),
31-
color: Colors.white,
3230
child: Padding(
3331
padding: const EdgeInsets.all(16.0),
3432
child: Column(

0 commit comments

Comments
 (0)