add bebas font

hmxc
小赖 4 years ago
parent 23be86de3f
commit bb1ba14b5d

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

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

Loading…
Cancel
Save