add bebas font

hmxc
小赖 4 years ago
parent 23be86de3f
commit bb1ba14b5d

@ -67,7 +67,10 @@ Widget _card(String number, String text, Color color) {
Text(
number,
style: TextStyle(
color: color, fontSize: 40.sp, fontStyle: FontStyle.italic),
color: color,
fontSize: 40.sp,
fontFamily: 'Bebas',
),
),
SizedBox(
height: 16.w,

@ -79,12 +79,10 @@ flutter:
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
fonts:
- family: Bebas
fonts:
- asset: assets/fonts/BebasNeue-Regular.ttf
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf

Loading…
Cancel
Save