Xin Yao
c0f0ded452
Fix relative path
4 years ago
Till Friebe
0f6fd64bed
Move ResponsiveWidgets to example folder
...
This widget has nothing to do with the library and is only used in
the example, so it is moved to the example.
4 years ago
Till Friebe
d4e4b0d507
Hide implementation files ( #233 )
4 years ago
Till Friebe
ac68c2373d
Improve further SOC of raw editor
...
This improves separation of concerns for the RawEditor by moving
the code for the text selection delegate to a separate class,
furthermore add more comments.
The PR does not change the functionality of the code.
4 years ago
Till Friebe
0c05c530e3
Improve SOC of raw editor ( #228 )
...
Improve separation of concerns for `RawEditor` by moving the code
for the keyboard to a separate class, furthermore add more comments.
The PR does not change the functionality of the code.
4 years ago
Till Friebe
5655920937
Improve SOC of raw editor ( #227 )
...
Improve separation of concerns for RawEditor by moving the code
for the text input client to a separate class, furthermore add
more comments.
4 years ago
kevinDespoulains
1ac73b7cae
Adding missing overrides to make package work with Flutter 2.2.0 ( #226 )
4 years ago
hyouuu
f816ad7ec8
custom rules & optionally auto add newline for image embeds ( #205 )
4 years ago
Gyuri Majercsik
08412c167a
171: support for non-scrollable text editor ( #188 )
...
Co-authored-by: Gyuri Majercsik <gyuri@fluttech.com>
4 years ago
Xin Yao
06c7563768
Fix simple viewer compilation error
4 years ago
em6m6e
760b4def7e
Simple viewer ( #187 )
...
* 2021-04-25
* 2021-04-26
4 years ago
kevinDespoulains
e49421f48c
Updating checkbox to handle tap ( #186 )
...
* updating checkbox to handle tap
* updating checkbox to handle long press and using UniqueKey() to avoid weird side effects
* removed useless doc
Co-authored-by: Kevin Despoulains <kevin.despoulains@scriptandgo.com>
4 years ago
Xin Yao
ca9a13b150
Update Line _format method
4 years ago
Guilherme C. Matuella
451dffc4cd
Fixes crashing disposed listeners on a bunch of widgets ( #164 )
4 years ago
Xin Yao
df602cfa9b
Format code
4 years ago
Xun Gong
049ada2feb
adjustable toolbar button & bar size
4 years ago
Xun Gong
273340a1f6
Pass getTextPosition instead of passing the tap text position to be more flexible; optional ignoreFocus on replaceText
4 years ago
Thea Choem
14817ec752
close #149 underline strike through color according to text color ( #150 )
4 years ago
Xin Yao
63c2ef9d0e
Upgrade to 1.2.0
4 years ago
Till Friebe
3080fc2ad1
Fix image button cancel causes crash ( #145 )
...
I also restructured the code slightly to make it more readable
and fixed some minor bugs in the desktop and web version.
I also noticed that the image button doesn't work in the desktop
version as well as in the web version. This is not part of the PR.
Closes #137 .
4 years ago
Xun Gong
b7063f00ba
toolbar button fillColor
4 years ago
Xun Gong
106e54c3fc
add scrollBottomInset
4 years ago
Till Friebe
8c663ad9f5
Add comments from Zefyr to nodes folder
...
Since quite a lot of code was taken from Zefyr, the license should
be changed to BSD to meet the requirements of Zefyr.
4 years ago
Till Friebe
873bfbcee1
Sort constructors first
4 years ago
Till Friebe
483dba0e4a
Remove unnecessary string interpolations
4 years ago
Till Friebe
5c18ca1dc3
Prefer int literals
4 years ago
Till Friebe
32b6c9169a
Prefer initializing formals
4 years ago
Till Friebe
78594aa266
Cascade invocations
...
Use the cascading style when succesively invoking methods on the
same reference.
4 years ago
Till Friebe
0a136edb86
Avoid void async
...
When declaring an async method or function which does not return
a value, declare that it returns Future and not just void.
4 years ago
Till Friebe
6c31fb1bc3
Avoid types on closure parameters
...
Annotating types for function expression parameters is usually
unnecessary because the parameter types can almost always be
inferred from the context, thus making the practice redundant.
4 years ago
Till Friebe
15a2f1d76f
Prefer const declarations
...
Const declarations are more hot-reload friendly and allow to use
const constructors if an instantiation references this declaration.
4 years ago
Till Friebe
bc494bc50f
Prefer final
...
Declaring variables as final when possible is a good practice
because it helps avoid accidental reassignments and allows the
compiler to do optimizations.
4 years ago
Till Friebe
31ec14c114
Prefer relative imports
...
This streamlines our imports.
4 years ago
Till Friebe
7cba9a8523
Fix height of empty line bug ( #141 )
4 years ago
Xun Gong
b68fc5a465
tap handles
4 years ago
Xin Yao
041d24cea0
Use widget.enableInteractiveSelection for copy/selectAll in ToobarOptions
4 years ago
Xin Yao
41056bcc4c
Revert " ☝️ Update deprecated code ( #136 )"
...
This reverts commit d62f15d889
.
4 years ago
Jeremie Corpinot
d62f15d889
☝️ Update deprecated code ( #136 )
4 years ago
Gagan Yadav
2cbc99287b
Match new header buttons UI to ToggleStyleButtons. ( #135 )
4 years ago
Xin Yao
96b5be1518
Add style for leading
4 years ago
Gagan Yadav
2f550d5e85
Replace header dropdown with buttons ( #132 )
...
* Replace header dropdown with buttons
* variable name fix and code format
Co-authored-by: Gagan <gaganyadav80@protonmail.com>
4 years ago
Xin Yao
084adcb1e7
Refactor code
4 years ago
Xin Yao
8ab586c318
Fix text selection in read-only mode
4 years ago
Xin Yao
53eaf34ad9
Revert change in openConnectionIfNeeded for readonly mode
4 years ago
hyouuu
047d0f729b
default color, Document.fromDelta, fix isItCut null check ( #123 )
...
* default color, Document.fromDelta, fix isItCut null check
* fix merge conflict
4 years ago
Xin Yao
f0dcca00d9
Readonly mode - temporary hack to dismiss keyboard
4 years ago
Xin Yao
5b9fb52804
Make showCursor default to true
4 years ago
Xin Yao
63a616e7eb
Remove universal_html dependency
4 years ago
Xin Yao
2bf7b8b585
Enable "Select", "Select All" and "Copy" in read-only mode
4 years ago
Till Friebe
977f94b347
Fix "Show toolbar" bug ( #120 )
4 years ago