frosty/lib/constants.dart

30 lines
739 B
Dart
Raw Normal View History

/// Twitch API client ID.
2021-09-09 00:08:36 -04:00
const clientId = String.fromEnvironment('CLIENT_ID');
2021-08-21 22:31:40 -04:00
/// Twitch API client secret.
2021-09-09 00:08:36 -04:00
const secret = String.fromEnvironment('SECRET');
2022-01-13 14:55:09 -05:00
/// The tracesSampleRate for sentry crash reporting.
2022-06-29 19:38:34 -04:00
const sampleRate = 0.2;
/// BTTV emotes with zero width to allow for overlaying other emotes.
const zeroWidthEmotes = [
2022-03-23 20:13:45 -04:00
'SoSnowy',
'IceCold',
'SantaHat',
'TopHat',
'ReinDeer',
'CandyCane',
'cvMask',
'cvHazmat',
];
/// Regex for matching strings that contain lower or upper case English characters.
final regexEnglish = RegExp(r'[a-zA-Z]');
/// The default badge width and height.
const defaultBadgeSize = 18.0;
/// The default emote width and height when none are provided.
const defaultEmoteSize = 28.0;