Feat/core 0.1.0 integration#1
Merged
Merged
Conversation
…stroke conversion
…g and asset resolution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces the first stable release (
0.1.0) of the package, updating the documentation, adding a comprehensive feature gallery, and expanding both the example app and README to cover new features. The main changes include support for advanced stroke and clipping options, scene persistence and export, and improved asset handling. The example app now demonstrates these features interactively, and assets are bundled for out-of-the-box demos.Feature Additions and Enhancements:
Layers.rectangleandLayers.path, using Flutter's native enums and parameters. [1] [2] [3] [4]clipBehaviorto clip layers to their bounding box, mirroring Flutter'sContainerbehavior. [1] [2] [3] [4]scaleand configurablealignmentto allLayersfactories for advanced transforms. [1] [2] [3]Layers.textwith vertical centering, and documented its behavior. [1] [2]Persistence and Export:
AssetImageSourcefor lazy asset loading and compact serialization, with automatic decoding and integration into all widgets andScenepersistence. [1] [2] [3] [4]Scene.toJson()/fromJson()for round-trip persistence, andScenes.encode/Scenes.saveToFilefor exporting scenes to files in multiple formats. [1] [2] [3] [4] [5]Documentation and Example Improvements:
StatefulWidget, adding interactive demos for dashed strokes, clipping, persistence, and export, and wiring up asset loading. [1] [2] [3] [4] [5]assets/images/logo.pngin the pubspec for demo purposes.Project Maintenance:
.pubignoreto exclude the/doc/directory from published packages.These changes collectively make the package feature-complete for Flutter use cases, with robust documentation and interactive examples.