Skip to content

Commit

Permalink
Tipografia
Browse files Browse the repository at this point in the history
  • Loading branch information
Anahi Salgado committed Dec 6, 2018
1 parent 1d34e15 commit d2032e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Binary file added platzi_trips_app/fonts/Lato-Regular.ttf
Binary file not shown.
2 changes: 2 additions & 0 deletions platzi_trips_app/lib/description_place.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class DescriptionPlace extends StatelessWidget {
child: Text(
namePlace,
style: TextStyle(
fontFamily: "Lato",
fontSize: 30.0,
fontWeight: FontWeight.w900
),
Expand Down Expand Up @@ -94,6 +95,7 @@ class DescriptionPlace extends StatelessWidget {
child: new Text(
descriptionPlace,
style: const TextStyle(
fontFamily: "Lato",
fontSize: 16.0,
fontWeight: FontWeight.bold,
color: Color(0xFF56575a)
Expand Down
4 changes: 4 additions & 0 deletions platzi_trips_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,7 @@ flutter:
#
# For details regarding fonts from package dependencies,
# see https://flutter.io/custom-fonts/#from-packages
fonts:
- family: Lato
fonts:
- asset: fonts/Lato-Regular.ttf

0 comments on commit d2032e2

Please sign in to comment.