sketch_flow 1.2.0
sketch_flow: ^1.2.0 copied to clipboard
A powerful and flexible Flutter sketching plugin. Easily build drawing applications with elegant UI and comprehensive export features.
[1.2.0]
This release introduces comprehensive UI customization options for SketchBottomBar and improves responsive layouts for tablet devices.
Added #
- Full Bottom Bar Customization: Added an optional
customBuilderparameter toSketchBottomBar. Developers can now provide aSketchBarBuilderfunction to build a completely custom list of tool icons, while still accessing internal state (controller,selectedToolType) and actions (onToolTap). - Custom Eraser Config UI: Added an optional
customEraserConfigparameter. This allows providing anEraserConfigBuilderfunction to build a custom UI for the eraser settings overlay (e.g., usingToggleButtonsinstead ofRadioListTile). - Custom Thickness Icon UI: Added
enableIconStrokeThicknessListanddisableIconStrokeThicknessListtoSketchToolConfig. Developers can now pass aList<Widget>to override the default thickness icons for any specific drawing tool. - Added
asserts toSketchToolConfigto throw an error if the length of custom icon lists does not match thestrokeThicknessList.
Changed #
- Responsive Overlays (Tablet Support): The default tool configuration overlays (for thickness/opacity and color palette) now use
LayoutBuilder. They will automatically display as aRowon wide screens (like tablets) and aColumnon narrow screens (like phones). - Refined Slider UI: The default opacity and color picker sliders have been redesigned with a custom
GradientTrackShape(featuring a 2-row checkerboard background and rounded ends) and a customColorSliderThumbShape(white border with selected color interior).
[1.1.0]
- FEAT: Add
isPadDeviceoption to separate stylus and touch inputs. - FEAT: Add
multiTouchPanZoomEnabledto allow zooming/panning while drawing.
[1.0.0+2]
- license update
[1.0.0+1]
- docs update
[1.0.0]
- re-export core APIs to simplify imports
[0.1.6+3]
- Add Area/Stroke Eraser design settings
- Add selected strokeThickness icon color settings.
[0.1.6+2]
- Add SketchTopBar theme settings
[0.1.6+1]
- Apply to set png, svg icon options
[0.1.6]
- Refactor SketchController of updateConfig
[0.1.5]
- Fix SketchBoard overlayWidget bug
[0.1.4]
- Add SketchBoard width/height size settings
[0.1.3]
- Fix SketchTopBar back button bug
- Update README
[0.1.2]
- Structural Change
- Repackaging
[0.1.1]
- Modify annotations, optimize import statements
[0.1.0]
- Initial version