mirror of https://github.com/flutter/pinball.git
parent
fbc760b968
commit
d1a6c56c2c
@ -1,14 +1,14 @@
|
|||||||
import 'package:pinball_components/gen/fonts.gen.dart';
|
import 'package:pinball_components/gen/fonts.gen.dart';
|
||||||
|
|
||||||
|
const String _fontPath = 'packages/pinball_components/';
|
||||||
|
|
||||||
/// Class with the fonts available on the pinball game
|
/// Class with the fonts available on the pinball game
|
||||||
class PinballFonts {
|
class PinballFonts {
|
||||||
PinballFonts._();
|
PinballFonts._();
|
||||||
|
|
||||||
/// Mono variation of the Pixeloid font
|
/// Mono variation of the Pixeloid font
|
||||||
static const String pixeloidMono =
|
static const String pixeloidMono = '$_fontPath/${FontFamily.pixeloidMono}';
|
||||||
'packages/pinball_components/${FontFamily.pixeloidMono}';
|
|
||||||
|
|
||||||
/// Sans variation of the Pixeloid font
|
/// Sans variation of the Pixeloid font
|
||||||
static const String pixeloidSans =
|
static const String pixeloidSans = '$_fontPath/${FontFamily.pixeloidSans}';
|
||||||
'packages/pinball_components/${FontFamily.pixeloidMono}';
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue