blob: 94b0a21ac07ce9a4cae80ff01b61a254cd56a8c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import 'package:flutter/painting.dart';
class AStyles {
static const knownTitleText = TextStyle(
fontSize: 20,
fontWeight: FontWeight.w300,
fontFeatures: [FontFeature.enable('smcp')],
);
static TextStyle unknownTitleText = knownTitleText;
static void updateStylesForLocale(Locale locale) {
final smcp = locale.languageCode != 'el';
unknownTitleText = smcp ? knownTitleText : knownTitleText.copyWith(fontFeatures: []);
}
static const embossShadows = [
Shadow(
color: Color(0xFF000000),
offset: Offset(0.5, 1.0),
)
];
}
|