story_maker 1.2.0
story_maker: ^1.2.0 copied to clipboard
A package for creating instagram like story, you can use this package to edit images and make it story ready by adding other contents over it like text, stickers, and filters.
1.0.0 10/11/2021. #
- First release version.
1.0.1 10/11/2021. #
- Improved the quality of the edited image.
1.0.2 21/11/2021. #
- Fixed aspect ratio issues.
1.0.3 23/11/2021. #
- Fixed widgets positions for small devices.
1.0.4 27/07/2022. #
- Updated libraries.
- Fixed some bugs.
1.0.5 4/12/2023 #
- Updated Dart and Pub dependencies.
- Improved code documentation.
- Fixed various bugs and issues.
- Optimized code for better performance.
- Updated example app.
1.1.0 2024 #
Major Features Added #
-
Stickers Support: Added comprehensive sticker functionality with emoji and image/GIF support
- Support for emoji stickers (default set of 50+ emojis)
- Support for custom image/GIF stickers via
StickerItemclass - Customizable sticker list via
customStickersparameter - Sticker selector widget with horizontal scrolling interface
-
Color Filters: Added 8 color filter options for image enhancement
- Sepia, Grayscale, Vintage, Cool, Warm, Bright, Dark filters
- Swipe left/right gesture support for quick filter navigation
- Filter name overlay display when selecting filters
- Color filter picker with visual preview
-
Theme Customization System: Complete theming support for StoryMaker
StoryMakerThemeclass for comprehensive UI customization- Customizable colors, borders, shadows, and border radius
- Pre-built dark and light theme variants
- Theme provider system for easy access throughout widget tree
- Support for custom button styles and decorations
-
Custom Done Button Builder: Added flexibility for custom done button implementation
doneButtonBuilderparameter for complete control over done button appearance- Access to theme, onDone callback, and loading state
Improvements #
-
UI Constants: Centralized all magic numbers and UI constants in
ui_constants.dart- Viewport fractions, position thresholds, font size constraints
- Better maintainability and easier configuration
-
Enhanced User Experience:
- Style name overlay when changing font families
- Filter name overlay when changing color filters
- Haptic feedback on color and filter selection
- Improved gesture handling for filter navigation
-
Code Quality:
- Better code organization with new utility files
- Improved documentation throughout the codebase
- Enhanced type safety with new model classes (
StickerItem)
New Files #
lib/components/sticker_selector_widget.dart- Sticker selection UIlib/components/text_animation_selector_widget.dart- Text animation selector (prepared for future use)lib/constants/color_filters.dart- Color filter definitions and matriceslib/constants/stickers.dart- Default sticker emoji listlib/constants/text_animations.dart- Text animation type definitionslib/constants/ui_constants.dart- Centralized UI constantslib/models/sticker_item.dart- Sticker item model classlib/theme/story_maker_theme.dart- Theme customization classlib/theme/story_maker_theme_provider.dart- Theme provider widgetlib/utils/animation_util.dart- Animation utility functions
Breaking Changes #
- None - All new features are backward compatible
Notes #
- Text animations infrastructure is prepared but not yet fully integrated into the main editor
1.1.1 2024 #
Developer Experience Improvements #
- Barrel Files: Added barrel files for better package organization and easier imports
lib/constants/constants.dart- Exports all public constantslib/models/models.dart- Exports all public model classeslib/theme/theme.dart- Exports all theme-related classeslib/utils/utils.dart- Exports all utility functionslib/extensions/extensions.dart- Exports all extension methods- Developers can now import related APIs from a single file for better organization
Improvements #
- Package Structure: Improved code organization with barrel file pattern
- Easier to discover and use public APIs
- Better separation of concerns
- Maintains backward compatibility with existing imports
Public API Exports #
The following public APIs are now available through barrel files:
- Constants:
ColorFilterType,ItemType,TextAnimationType, filter matrices, default stickers, font lists, color lists, gradient lists, UI constants - Models:
EditableItem,StickerItem - Theme:
StoryMakerTheme,StoryMakerThemeProvider - Utils:
createAnimatedText,createShader,getColorFilterMatrix,getFilterName,getAnimationName - Extensions:
BuildContextExtensions
1.2.0 - 2025-11-07 #
Major Refactoring #
-
Package Structure Reorganization: Complete refactoring of package structure for better maintainability
- All implementation files moved to
src/subdirectories - Components:
lib/components/src/- All widget components - Constants:
lib/constants/src/- All constant definitions - Extensions:
lib/extensions/src/- All extension methods - Models:
lib/models/src/- All model classes - Theme:
lib/theme/src/- All theme-related classes - Utils:
lib/utils/src/- All utility functions
- All implementation files moved to
-
Barrel Files Enhancement: Improved barrel file structure for better package organization
lib/components/components.dart- Exports all component widgetslib/constants/constants.dart- Exports all constantslib/extensions/extensions.dart- Exports all extensionslib/models/models.dart- Exports all modelslib/theme/theme.dart- Exports all theme classeslib/utils/utils.dart- Exports all utilities
Improvements #
-
Code Organization: Better separation of public API from implementation
- Public API exposed through barrel files
- Implementation details hidden in
src/directories - Follows Dart package best practices
-
Import Simplification: Updated internal imports to use barrel files
- Reduced import statements in main library file
- Cleaner and more maintainable code structure
-
Code Cleanup: Removed unused code
- Removed
animation_util.dart(unused animation utilities) - Removed
text_animation_selector_widget.dart(prepared but unused feature)
- Removed
-
Bug Fixes:
- Fixed typo in import statement (
constats→constants) - Updated deprecated
withOpacity()towithValues(alpha:)for Flutter 3.0+ compatibility
- Fixed typo in import statement (
Breaking Changes #
- None - All changes are internal refactoring. Public API remains backward compatible.
Developer Experience #
- Better Package Structure: Easier to navigate and understand package organization
- Improved Maintainability: Clear separation between public API and implementation
- Follows Best Practices: Aligns with Dart package structure recommendations