mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-10 13:08:24 +08:00
OnBoarding main screen: Use the custom Lato font for the heading
I'm not sure if I should use this font all over, or if just in this place.
This commit is contained in:
BIN
fonts/Lato-Regular.ttf
Executable file
BIN
fonts/Lato-Regular.ttf
Executable file
Binary file not shown.
@ -225,6 +225,8 @@ class OnBoardingInitialChoice extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
var headerTextStyle =
|
||||||
|
Theme.of(context).textTheme.display3.copyWith(fontFamily: "Lato");
|
||||||
var header = Row(
|
var header = Row(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Image.asset(
|
Image.asset(
|
||||||
@ -234,7 +236,7 @@ class OnBoardingInitialChoice extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"GitJournal",
|
"GitJournal",
|
||||||
style: Theme.of(context).textTheme.display3,
|
style: headerTextStyle,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
@ -26,6 +26,10 @@ flutter:
|
|||||||
- "assets/icon/icon.png"
|
- "assets/icon/icon.png"
|
||||||
- "assets/icon/github-icon.png"
|
- "assets/icon/github-icon.png"
|
||||||
- "assets/icon/gitlab-icon.png"
|
- "assets/icon/gitlab-icon.png"
|
||||||
|
fonts:
|
||||||
|
- family: Lato
|
||||||
|
fonts:
|
||||||
|
- asset: fonts/Lato-Regular.ttf
|
||||||
|
|
||||||
flutter_icons:
|
flutter_icons:
|
||||||
android: "launcher_icon"
|
android: "launcher_icon"
|
||||||
|
Reference in New Issue
Block a user