Skip to content

Commit c8d3a46

Browse files
authored
Merge pull request #44 from timcreatedit/chore--restored-changelog
chore: restored changelog
2 parents 1f749e2 + ffe2c37 commit c8d3a46

File tree

3 files changed

+135
-4
lines changed

3 files changed

+135
-4
lines changed

CHANGELOG.md

Lines changed: 133 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.10.0+1
2+
3+
- **DOCS**: fixed demo image.
4+
15
## 0.10.0
26

37
> Note: This release has breaking changes.
@@ -23,6 +27,133 @@
2327
- **BREAKING** **REFACTOR**: made `GestureCatcherRecognizer` private.
2428
- **BREAKING** **REFACTOR**: `ScribbleNotifier` is now a `ValueNotifier`.
2529

26-
# 0.1.0+1
30+
## 0.9.1
31+
- removed erroneous `simulatePressure`
32+
## 0.9.0
33+
- Use `perfect_freehand` for much smoother lines (thanks to @mattrussell-sonocent)
34+
- BREAKING: Removed line customization parameters from widgets
35+
36+
## 0.4.0
37+
- Upgraded dependencies (thanks to @wxxedu)
38+
- ``ScribbleNotifier.clear()`` clears the drawing without resetting anything else (color, width e.t.c)
39+
40+
## 0.3.0
41+
- Upgraded dependencies
42+
- Added ``ScribbleSketch`` widget for just displaying a sketch without input functionality, no notifier needed!
43+
## 0.2.2
44+
- Upgraded dependencies
45+
46+
## 0.2.1
47+
- Updated README to include the newest features
48+
- Downgraded json_serializable due to a bug with freezed
49+
50+
## 0.2.0
51+
#### BREAKING:
52+
- Custom ScribbleNotifiers now need to provide a GlobalKey which is used in the renderImage() method to access Scribble's
53+
RepaintBoundary
54+
- Updated example to demonstrate image export.
55+
56+
#### Image Export:
57+
- You can now export the Scribble to an Image ```ByteData``` using the ScribbleNotifiers ``renderImage()`` method!
58+
59+
#### Other Changes:
60+
- The pressure on web is overridden so the cursor matches the selected pen width!
61+
- ``ScribbleNotifier`` now extends ``ScribbleNotifierBase`` instead of implementing it as an interface.
62+
- Updated dependencies
63+
64+
## 0.1.3
65+
#### Filter for Pointers:
66+
You can now switch between different ``ScribblePointerMode``s, even at runtime.
67+
68+
This is very helpful for example, if Scribble lives inside a Scrollable and you want users to be able to navigate with their finger while drawing with their pen.
69+
70+
Check the updated example to try it out!
71+
72+
#### Other Changes:
73+
* ``ScribbleNotifier`` now has the option to set the sketch from outside after it has been constructed using the ``setSketch()`` method. You can even choose whether you want it to be committed to the undo history.
74+
* Added documentation to ``ScribbleState``
75+
* Updated example
76+
* Updated dependencies
77+
78+
## 0.1.2
79+
80+
* Removed the speed calculation using time due to precision issues
81+
82+
## 0.1.1
83+
* Added scaleFactor to support zoomable canvases. This allows you to for example wrap the Scribble Widget in an
84+
InteractiveViewer, so that users can draw finer details.
85+
86+
## 0.1.0
87+
88+
* Points now remember their time to calculate speed more accurately
89+
* Multiple fixes for drawing with real pens or touch
90+
* ``ScribbleState`` can now be serialized to JSON
91+
92+
### Breaking:
93+
94+
* speedFactor's value should now be higher for the same effect, the default value has changed to 0.4
95+
* ``color`` property in state is now an int to allow for easy JSON
96+
## 0.0.13
97+
98+
* Draw better line ends
99+
* Removed marker-like blend mode for now due to performance and buggy rendering in some cases
100+
101+
## 0.0.12
102+
103+
* Eraser keeps pen width and the other way around
104+
105+
## 0.0.11
106+
107+
* Eraser doesn't autoselect anymore
108+
* Undo doesn't undo color and stroke selection
109+
110+
## 0.0.10
111+
112+
* Fixed stupid bug with pointer exit
113+
114+
## 0.0.9
115+
116+
* Better behavior on pointer exit
117+
118+
## 0.0.8
119+
120+
* Reduced Dependencies
121+
* Replaced kimchi package with the better suited [history_state_notifier](https://pub.dev/packages/history_state_notifier)
122+
* Fixed a bug with redo queue clearing
123+
124+
## 0.0.7
125+
126+
* **BREAKING:** The ``drawPointer`` parameter is now called ``drawPen``
127+
* You can now obtain the current sketch from the notifier.
128+
If you want to store it somewhere for example you can call ```toJson()``` on it.
129+
* You can now pass a sketch to a ``ScribbleNotifier`` constructor to initialize it with an existing
130+
drawing.
131+
* Added ``ScribbleNotifierBase`` interface so you can write your own notifier that works with the ``Scribble``widget
132+
* Added pressure curve support to the notifier
133+
* Allows more customization in the scribble widget for how the lines are rendered
134+
135+
136+
## 0.0.6
137+
138+
* Upped minimum flutter version to 2.5
139+
140+
## 0.0.5
141+
142+
* Back to flutter 2.2.3
143+
144+
## 0.0.4
145+
146+
* Upped minimum flutter version to 2.3
147+
148+
## 0.0.3
149+
150+
* meta dependency to hopefully work with analysis
151+
152+
## 0.0.2
153+
154+
* Added documentation
155+
* Fixed dependencies
156+
157+
## 0.0.1
27158

28-
- feat: initial commit 🎉
159+
* Initial release

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Scribble is a lightweight library for freehand drawing in Flutter supporting pressure, variable line width and more!
88

9-
![Scribble Demo](./scribble_demo.gif)
9+
![Scribble Demo](https://raw.githubusercontent.com/timcreatedit/scribble/main/scribble_demo.gif)
1010

1111
## Installation 💻
1212

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: scribble
22
description: Scribble is a lightweight library for freehand drawing in Flutter
33
supporting pressure, variable line width and more!
4-
version: 0.10.0
4+
version: 0.10.0+1
55
repository: https://github.com/timcreatedit/scribble
66
issue_tracker: https://github.com/timcreatedit/scribble/issues
77

0 commit comments

Comments
 (0)