constants/constants library
Barrel file for constants.
This file exports all public constants used throughout the story_maker package.
Classes
- FontSizeConstants
- Font size constraints
- PositionConstants
- Position thresholds and offsets
- RemoveWidgetConstants
- Remove widget dimensions
- StoryConstants
- Aspect ratio for story preview
- TextStrokeConstants
- Text stroke width for overlay items
- ViewportFractions
- UI constants used throughout the story maker.
Enums
- ColorFilterType
- Enum representing different color filter types.
- ItemType
- Enum representing the type of an item.
Constants
-
brightMatrix
→ const List<
double> - Color filter matrix for bright effect.
-
coolMatrix
→ const List<
double> - Color filter matrix for cool effect (blue tint).
-
darkMatrix
→ const List<
double> - Color filter matrix for dark effect.
-
defaultColors
→ const List<
Color> - A list of default colors.
-
defaultStickers
→ const List<
String> - Default sticker emojis/icons that can be used in stories.
-
fontFamilyList
→ const List<
String> - A list of font family names.
-
gradientColors
→ const List<
List< Color> > - A list of gradient colors.
-
grayscaleMatrix
→ const List<
double> - Color filter matrix for grayscale effect.
-
sepiaMatrix
→ const List<
double> - Color filter matrix for sepia effect.
-
vintageMatrix
→ const List<
double> - Color filter matrix for vintage effect.
-
warmMatrix
→ const List<
double> - Color filter matrix for warm effect (orange/red tint).
Functions
-
getColorFilterMatrix(
ColorFilterType filterType) → List< double> - Gets the color filter matrix for a given filter type.
-
getFilterName(
ColorFilterType filterType) → String - Gets the display name for a filter type.