mirror of https://github.com/flutter/pinball.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
474 B
17 lines
474 B
3 years ago
|
import 'package:pinball_components/gen/fonts.gen.dart';
|
||
|
|
||
|
String _prefixFont(String font) {
|
||
|
return 'packages/pinball_components/$font';
|
||
|
}
|
||
|
|
||
|
/// Class with the fonts available on the pinball game
|
||
|
class PinballFonts {
|
||
|
PinballFonts._();
|
||
|
|
||
|
/// Mono variation of the Pixeloid font
|
||
|
static final String pixeloidMono = _prefixFont(FontFamily.pixeloidMono);
|
||
|
|
||
|
/// Sans variation of the Pixeloid font
|
||
|
static final String pixeloidSans = _prefixFont(FontFamily.pixeloidMono);
|
||
|
}
|