2021-11-12 00:04:39 -05:00
|
|
|
/// 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
|
|
|
|
2021-11-12 00:04:39 -05:00
|
|
|
/// Twitch API client secret.
|
2021-09-09 00:08:36 -04:00
|
|
|
const secret = String.fromEnvironment('SECRET');
|
2021-12-15 01:49:25 -05:00
|
|
|
|
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;
|
2022-01-08 09:31:52 -05:00
|
|
|
|
2021-12-15 01:49:25 -05:00
|
|
|
/// 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',
|
2021-12-15 01:49:25 -05:00
|
|
|
];
|
2022-01-19 15:12:54 -05:00
|
|
|
|
2022-03-28 02:48:32 -04:00
|
|
|
/// Regex for matching strings that contain lower or upper case English characters.
|
2022-01-19 15:12:54 -05:00
|
|
|
final regexEnglish = RegExp(r'[a-zA-Z]');
|
2022-03-28 02:48:32 -04:00
|
|
|
|
|
|
|
|
/// The default badge width and height.
|
|
|
|
|
const defaultBadgeSize = 18.0;
|
|
|
|
|
|
|
|
|
|
/// The default emote width and height when none are provided.
|
|
|
|
|
const defaultEmoteSize = 28.0;
|